[SPARK-16017][Core]Send hostname from CoarseGrainedExecutorBackend to driver#13741
Closed
zsxwing wants to merge 1 commit intoapache:masterfrom
zsxwing:SPARK-16017
Closed
[SPARK-16017][Core]Send hostname from CoarseGrainedExecutorBackend to driver#13741zsxwing wants to merge 1 commit intoapache:masterfrom zsxwing:SPARK-16017
zsxwing wants to merge 1 commit intoapache:masterfrom
zsxwing:SPARK-16017
Conversation
Member
Author
|
/cc @vanzin |
Contributor
|
Code looks ok, but could you run an actual application on HDFS and make sure that tasks are allocated respecting the proper locality? |
Member
Author
Contributor
|
Cool, thanks. LGTM |
|
Test build #60724 has finished for PR 13741 at commit
|
Member
Author
|
Thanks! Merging to master and 2.0. |
asfgit
pushed a commit
that referenced
this pull request
Jun 17, 2016
…o driver ## What changes were proposed in this pull request? [SPARK-15395](https://issues.apache.org/jira/browse/SPARK-15395) changes the behavior that how the driver gets the executor host and the driver will get the executor IP address instead of the host name. This PR just sends the hostname from executors to driver so that driver can pass it to TaskScheduler. ## How was this patch tested? Existing unit tests. Author: Shixiong Zhu <shixiong@databricks.com> Closes #13741 from zsxwing/SPARK-16017. (cherry picked from commit 62d8fe2) Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
SPARK-15395 changes the behavior that how the driver gets the executor host and the driver will get the executor IP address instead of the host name. This PR just sends the hostname from executors to driver so that driver can pass it to TaskScheduler.
How was this patch tested?
Existing unit tests.