-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-11287] Fixed class name to properly start TestExecutor from deploy.client.TestClient #9255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-11287] Fixed class name to properly start TestExecutor from deploy.client.TestClient #9255
Conversation
…ploy.client.TestClient
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a naive question, but why not use classOf[TextExecutor].getCanonicalName so that this doesn't break in the future and is easier to grep with IntelliJ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that would be better. Since TestExecutor is an object, it looks like I would have to use TestExecutor.getClass.getCanonicalName which returns "org.apache.spark.deploy.client.TestExecutor$" and then the $ would need to be removed.
So it's slightly more complicated, but still probably more future proof. Let me implement that and verify everything still works.
|
Test build #44239 has finished for PR 9255 at commit
|
|
test this please |
|
Is the issue that it's missing "org.apache" or something -- does it cause a problem? |
|
Yes, it was missing "org.apache" and when running the TestClient, the master continuously tries and fails to start an executor. |
|
Heh, I think this was just an oversight from the long-ago rename from It does look like a typo, and I suppose this has just never been used ... ? probably virtually dead code but hey, let's just fix it. |
|
Haha, that's what I thought.. I must be the only one trying to run this code! But it did help me quickly test something, so it served some purpose :) |
|
Test build #44250 has finished for PR 9255 at commit
|
|
Test build #44254 has finished for PR 9255 at commit
|
|
Test build #1955 has finished for PR 9255 at commit
|
…ploy.client.TestClient Executing deploy.client.TestClient fails due to bad class name for TestExecutor in ApplicationDescription. Author: Bryan Cutler <bjcutler@us.ibm.com> Closes #9255 from BryanCutler/fix-TestClient-classname-SPARK-11287. (cherry picked from commit 80279ac) Signed-off-by: Sean Owen <sowen@cloudera.com>
|
Merged to master/1.5 |
Executing deploy.client.TestClient fails due to bad class name for TestExecutor in ApplicationDescription.