Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Bug: Spark shuffle service worker registration fail #492

Conversation

jafreck
Copy link
Member

@jafreck jafreck commented Apr 6, 2018

@jafreck jafreck added this to the v0.7.0 milestone Apr 6, 2018
@@ -96,14 +96,11 @@ def start_spark_worker():
print("Connecting to master with '{0}'".format(" ".join(cmd)))
call(cmd)

# enable the shuffle service on all slaves
start_shuffle_service()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so are you just not starting it now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I talked about this in #491, but apparently for standalone mode, it is not necessary to launch the shuffle service using this script. If you just set spark.shuffle.service.enabled to true, the shuffle service is started automatically.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you submit a spark application with that setting (and not using the start script), the logs indicate that the external shuffle service is running.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so do you even need to keep the method below or you just keep for later usage?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was keeping it in case, but I don't think it is necessary at all. I'll remove it.

…github.com:jafreck/aztk into bug/spark-shuffle-service-worker-registration-fail
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants