File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
core/src/main/scala/org/apache/spark Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ private[spark] class CoarseGrainedExecutorBackend(
289
289
290
290
private def decommissionSelf (): Boolean = {
291
291
if (! decommissioned) {
292
- logInfo(" Decommissioning self w/sync " )
292
+ logInfo(" Decommissioning self and starting background thread to exit when done. " )
293
293
try {
294
294
decommissioned = true
295
295
// Tell master we are are decommissioned so it stops trying to schedule us
Original file line number Diff line number Diff line change @@ -230,10 +230,10 @@ private[spark] class Executor(
230
230
private [executor] def numRunningTasks : Int = runningTasks.size()
231
231
232
232
/**
233
- * Mark an executor for decommissioning and avoid launching new tasks .
233
+ * Mark an executor for decommissioning.
234
234
*/
235
235
private [spark] def decommission (): Unit = {
236
- logInfo(" Executor asked to decommission. Starting shutdown thread. " )
236
+ logInfo(" Executor asked to decommission." )
237
237
decommissioned = true
238
238
}
239
239
Original file line number Diff line number Diff line change @@ -1890,6 +1890,8 @@ private[spark] class BlockManager(
1890
1890
* Note: this does not delete the shuffle files in-case there is an in-progress fetch
1891
1891
* but rather shadows them.
1892
1892
* Requires an Indexed based shuffle resolver.
1893
+ *
1894
+ * @return true if we have not migrated all shuffle blocks, false otherwise.
1893
1895
*/
1894
1896
def offloadShuffleBlocks (): Boolean = {
1895
1897
// Update the queue of shuffles to be migrated
You can’t perform that action at this time.
0 commit comments