Uh oh!
There was an error while loading. Please reload this page.
[SPARK-6955] Perform port retries at NettyBlockTransferService level - #5575
[SPARK-6955] Perform port retries at NettyBlockTransferService level#5575aarondav wants to merge 4 commits into
Conversation
SparkQA
commented
Apr 18, 2015
Test build #30526 has started for PR 5575 at commit |
SparkQA
commented
Apr 18, 2015
Test build #30526 has finished for PR 5575 at commit
|
AmplabJenkins
commented
Apr 18, 2015
Test FAILed. |
aarondav
commented
Apr 18, 2015
cc @SaintBacchus @andrewor13 @vanzin This patch aims to resolve SPARK-6955 while keeping the fix for SPARK-5444. |
aarondav
commented
Apr 18, 2015
err, cc @andrewor14, not @andrewor13. |
SparkQA
commented
Apr 18, 2015
Test build #30527 has started for PR 5575 at commit |
SparkQA
commented
Apr 18, 2015
Test build #30527 timed out for PR 5575 at commit |
AmplabJenkins
commented
Apr 18, 2015
Test FAILed. |
aarondav
commented
Apr 19, 2015
Jenkins, retest this please. |
SparkQA
commented
Apr 19, 2015
Test build #30548 has started for PR 5575 at commit |
SparkQA
commented
Apr 19, 2015
Test build #30548 timed out for PR 5575 at commit |
AmplabJenkins
commented
Apr 19, 2015
Test FAILed. |
aarondav
commented
Apr 19, 2015
Jenkins, retest this please. |
SparkQA
commented
Apr 19, 2015
Test build #30568 has started for PR 5575 at commit |
SparkQA
commented
Apr 19, 2015
Test build #30568 timed out for PR 5575 at commit |
AmplabJenkins
commented
Apr 19, 2015
Test FAILed. |
SparkQA
commented
Apr 19, 2015
Test build #30569 has started for PR 5575 at commit |
SparkQA
commented
Apr 20, 2015
Test build #30569 has finished for PR 5575 at commit
|
AmplabJenkins
commented
Apr 20, 2015
Test PASSed. |
SaintBacchus
commented
Apr 20, 2015
I seems to be a better way. Thanks for taking time to solve it. |
There was a problem hiding this comment.
This seems flaky. Isn't the previous check enough? Otherwise, instead of 10 I'd use 1024 which is the actual limit in the code.
There was a problem hiding this comment.
I can increase the number no problem, though I guess we should use Utils.portMaxRetries instead. However, note that even 10 should be very unlikely to be hit, that would mean there's 5-10 concurrently running tests at this exact part of the build, or else we're very, very unlucky.
vanzin
commented
Apr 20, 2015
LGTM aside from the potentially flaky test. |
There was a problem hiding this comment.
Do we actually ever want to start an external shuffle service in a local cluster? If not I think it makes more sense to just set spark.shuffle.service.enabled to false in LocalSparkCluster (we already do this for the REST submission server for Master)
SparkQA
commented
Apr 27, 2015
Test build #31002 has started for PR 5575 at commit |
AmplabJenkins
commented
May 1, 2015
Merged build triggered. |
SparkQA
commented
May 1, 2015
Test build #31568 timed out for PR 5575 at commit |
AmplabJenkins
commented
May 1, 2015
Merged build finished. Test FAILed. |
AmplabJenkins
commented
May 1, 2015
Test FAILed. |
AmplabJenkins
commented
May 1, 2015
Merged build triggered. |
AmplabJenkins
commented
May 1, 2015
Merged build started. |
SparkQA
commented
May 1, 2015
Test build #31584 has started for PR 5575 at commit |
SparkQA
commented
May 1, 2015
Test build #31584 has finished for PR 5575 at commit
|
AmplabJenkins
commented
May 1, 2015
Merged build finished. Test PASSed. |
AmplabJenkins
commented
May 1, 2015
Test PASSed. |
Currently we're doing port retries in the TransportServer level, but this is not specified by the TransportContext API and it has other further-reaching impacts like causing undesirable behvior for the Yarn and Standalone shuffle services.
aarondav
commented
May 8, 2015
cc @andrewor14@pwendell We should consider merging this into the 1.4 branch in case there is another RC. It has been an outstanding issue for a while. |
AmplabJenkins
commented
May 8, 2015
Merged build triggered. |
AmplabJenkins
commented
May 8, 2015
Merged build started. |
SparkQA
commented
May 8, 2015
Test build #32254 has started for PR 5575 at commit |
SparkQA
commented
May 8, 2015
Test build #32254 has finished for PR 5575 at commit
|
AmplabJenkins
commented
May 8, 2015
Merged build finished. Test PASSed. |
AmplabJenkins
commented
May 8, 2015
Test PASSed. |
andrewor14
commented
May 9, 2015
Nice, I merge. |
andrewor14
commented
May 9, 2015
master 1.4 |
Currently we're doing port retries in the TransportServer level, but this is not specified by the TransportContext API and it has other further-reaching impacts like causing undesirable behavior for the Yarn and Standalone shuffle services. Author: Aaron Davidson <aaron@databricks.com> Closes#5575 from aarondav/port-bind and squashes the following commits: 3c2d6ed [Aaron Davidson] Oops, never do it. a5d9432 [Aaron Davidson] Remove shouldHostShuffleServiceIfEnabled e901eb2 [Aaron Davidson] fix local-cluster mode for ExternalShuffleServiceSuite 59e5e38 [Aaron Davidson] [SPARK-6955] Perform port retries at NettyBlockTransferService level (cherry picked from commit ffdc40c) Signed-off-by: Andrew Or <andrew@databricks.com>
Currently we're doing port retries in the TransportServer level, but this is not specified by the TransportContext API and it has other further-reaching impacts like causing undesirable behavior for the Yarn and Standalone shuffle services. Author: Aaron Davidson <aaron@databricks.com> Closesapache#5575 from aarondav/port-bind and squashes the following commits: 3c2d6ed [Aaron Davidson] Oops, never do it. a5d9432 [Aaron Davidson] Remove shouldHostShuffleServiceIfEnabled e901eb2 [Aaron Davidson] fix local-cluster mode for ExternalShuffleServiceSuite 59e5e38 [Aaron Davidson] [SPARK-6955] Perform port retries at NettyBlockTransferService level
Currently we're doing port retries in the TransportServer level, but this is not specified by the TransportContext API and it has other further-reaching impacts like causing undesirable behavior for the Yarn and Standalone shuffle services. Author: Aaron Davidson <aaron@databricks.com> Closesapache#5575 from aarondav/port-bind and squashes the following commits: 3c2d6ed [Aaron Davidson] Oops, never do it. a5d9432 [Aaron Davidson] Remove shouldHostShuffleServiceIfEnabled e901eb2 [Aaron Davidson] fix local-cluster mode for ExternalShuffleServiceSuite 59e5e38 [Aaron Davidson] [SPARK-6955] Perform port retries at NettyBlockTransferService level
Currently we're doing port retries in the TransportServer level, but this is not specified by the TransportContext API and it has other further-reaching impacts like causing undesirable behavior for the Yarn and Standalone shuffle services. Author: Aaron Davidson <aaron@databricks.com> Closesapache#5575 from aarondav/port-bind and squashes the following commits: 3c2d6ed [Aaron Davidson] Oops, never do it. a5d9432 [Aaron Davidson] Remove shouldHostShuffleServiceIfEnabled e901eb2 [Aaron Davidson] fix local-cluster mode for ExternalShuffleServiceSuite 59e5e38 [Aaron Davidson] [SPARK-6955] Perform port retries at NettyBlockTransferService level
Currently we're doing port retries in the TransportServer level, but this is not specified by the TransportContext API and it has other further-reaching impacts like causing undesirable behavior for the Yarn and Standalone shuffle services.