-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-32004][ALL] Drop references to slave #28864
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
Closed
holdenk
wants to merge
21
commits into
apache:master
from
holdenk:SPARK-32004-drop-references-to-slave
Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1977934
Start getting rid of references to slave
holdenk 0441b81
I think agent is clearer given how we already use worker for other th…
holdenk d1244b2
Rename the blockmanager slave to replica
holdenk 27a3762
Finish up in core
holdenk 110e244
Fix in the main places
holdenk e479429
Fix in SQL
holdenk 578da6c
Update the resource managers
holdenk dd5716a
fix a long line
holdenk b263035
Actually this is the block manager not the exec
holdenk 74e7bde
one more long line
holdenk 16305a0
Cleanups and rename the sbin scripts
holdenk 83cb4e8
Add the transitional shell scritps
holdenk a8c35d6
Update AgentLost to ExecutorProcessLost, note we still use agent/agen…
holdenk 9aa5676
Rename the sample config to match
holdenk 99375d7
Update the markdown files in docs to use more accurate words
holdenk 11228bc
Fix up Mesos to still use the SlaveID protos since while their http A…
holdenk eaf29d8
Update the JsonProtocolSuite to match that were outputting the new an…
holdenk 6f5f3cc
Code review feedback
holdenk 14d40bb
Implement a common trait as suggested by ryanblue (did not add to exi…
holdenk d495203
Merge branch 'master' into SPARK-32004-drop-references-to-slave
holdenk 9c43172
Merge branch 'master' into SPARK-32004-drop-references-to-slave
holdenk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ package org.apache.spark.scheduler | |
| import org.apache.spark.executor.ExecutorExitCode | ||
|
|
||
| /** | ||
| * Represents an explanation for an executor or whole slave failing or exiting. | ||
| * Represents an explanation for an executor or whole process failing or exiting. | ||
| */ | ||
| private[spark] | ||
| class ExecutorLossReason(val message: String) extends Serializable { | ||
|
|
@@ -56,7 +56,7 @@ private [spark] object LossReasonPending extends ExecutorLossReason("Pending los | |
| * @param workerLost whether the worker is confirmed lost too (i.e. including shuffle service) | ||
| */ | ||
| private[spark] | ||
| case class SlaveLost(_message: String = "Slave lost", workerLost: Boolean = false) | ||
| case class ExecutorProcessLost(_message: String = "Worker lost", workerLost: Boolean = false) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the default message should be "Executor Process Lost". Having it be "Worker lost" signals that workerLost flag is true. Ie, this would look confusing if the message is "Worker lost" and the workerLost = false. |
||
| extends ExecutorLossReason(_message) | ||
|
|
||
| /** | ||
|
|
||
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.