-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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-9877][Core] Fix StandaloneRestServer NPE when submitting application #8127
Conversation
Test build #40630 timed out for PR 8127 at commit |
retest this please |
@jerryshao weird, I've been running this and it works for me. How did you reproduce it? |
@andrewor14 , I just started a local pseudo standalone cluster in my machine with master and worker in one machine, and then submitted a simple SparkPi application and then meet such exception as SPARK-9877 mentioned. Here is the command line.
|
I dumped the value of |
How did you set up your cluster? It works when I do the following:
|
Hi @andrewor14 , yes, I testes with same way. Did you test with latest master? I tested using 1.4.1 release, seems no such exception. |
Ah, I just reproduced it! Do you know what caused this? |
Looks like that line was added in #5392 |
I've already mentioned before, |
Yeah, I think the new RPC framework may break the old code. |
I've bumped up the priority on this since this is a regression. LGTM will merge once tests pass. retest this please |
Test build #40721 has finished for PR 8127 at commit
|
Jenkins, retest this please. |
Test build #40744 has finished for PR 8127 at commit
|
retest this please. I just fixed a potential source of flakiness |
Test build #40790 has finished for PR 8127 at commit
|
retest test test test this please |
The unit test seems so flaky :) |
Test build #1578 has finished for PR 8127 at commit
|
Test build #1577 has finished for PR 8127 at commit
|
Test build #1576 timed out for PR 8127 at commit |
Test build #40824 timed out for PR 8127 at commit |
Jenkins, retest this please. |
Test build #40860 has finished for PR 8127 at commit
|
Great, merging into master 1.5. Thanks @jerryshao for catching this! |
…ication Detailed exception log can be seen in [SPARK-9877](https://issues.apache.org/jira/browse/SPARK-9877), the problem is when creating `StandaloneRestServer`, `self` (`masterEndpoint`) is null. So this fix is creating `StandaloneRestServer` when `self` is available. Author: jerryshao <sshao@hortonworks.com> Closes #8127 from jerryshao/SPARK-9877. (cherry picked from commit 9407baa) Signed-off-by: Andrew Or <andrew@databricks.com>
…ication Detailed exception log can be seen in [SPARK-9877](https://issues.apache.org/jira/browse/SPARK-9877), the problem is when creating `StandaloneRestServer`, `self` (`masterEndpoint`) is null. So this fix is creating `StandaloneRestServer` when `self` is available. Author: jerryshao <sshao@hortonworks.com> Closes apache#8127 from jerryshao/SPARK-9877.
Detailed exception log can be seen in SPARK-9877, the problem is when creating
StandaloneRestServer
,self
(masterEndpoint
) is null. So this fix is creatingStandaloneRestServer
whenself
is available.