[MINOR][CORE] Remove unused variables, unused imports, etc.#24857
[MINOR][CORE] Remove unused variables, unused imports, etc.#24857imback82 wants to merge 5 commits intoapache:masterfrom
Conversation
There was a problem hiding this comment.
Thank you for your first contribution and welcome, @imback82 . I have a few comments.
- We use
[MINOR]tag if we don't have SPARK JIRAs. - Could you find more instances in
coremodule? We usually recommend to do this kind of tasks module by module.
Thanks. I will follow this from the next PR.
I compiled with |
|
Ur, thank you for the update, but let's remove |
core/src/main/scala/org/apache/spark/deploy/rest/SubmitRestProtocolMessage.scala
Show resolved
Hide resolved
dongjoon-hyun
left a comment
There was a problem hiding this comment.
@imback82 . Please see the comments. This PR removes live codes.
srowen
left a comment
There was a problem hiding this comment.
Except for keeping the private setActive method, I think this is fine as a general cleanup of dead code and imports
core/src/main/scala/org/apache/spark/deploy/rest/SubmitRestProtocolMessage.scala
Show resolved
Hide resolved
|
ok to test |
|
Test build #106479 has finished for PR 24857 at commit
|
|
@srowen any update on this? @HyukjinKwon I just noticed that you referenced this PR from #24858. Do you have the same concern with this PR? If messing with imports is a concern for you, I could revert those changes. Please let me know. Thanks in advance! |
|
It's fine since it fixes multiple instances. I see some committers are actively reviewing this. |
|
Merged to master |
What changes were proposed in this pull request?
How was this patch tested?
Unit tests.