[SPARK-14779][CORE] Corrected log message in Worker case KillExecutor

In o.a.s.deploy.worker.Worker.scala, when receiving a KillExecutor message from an invalid Master, fixed typo by changing the log message to read "..attemped to kill executor.."

Author: Bryan Cutler <cutlerb@gmail.com>

Closes #12546 from BryanCutler/worker-killexecutor-log-message.
This commit is contained in:
Bryan Cutler 2016-04-21 11:33:42 +01:00 committed by Sean Owen
parent ec2a276022
commit d53a51c1e5

View file

@ -496,7 +496,7 @@ private[deploy] class Worker(
case KillExecutor(masterUrl, appId, execId) =>
if (masterUrl != activeMasterUrl) {
logWarning("Invalid Master (" + masterUrl + ") attempted to launch executor " + execId)
logWarning("Invalid Master (" + masterUrl + ") attempted to kill executor " + execId)
} else {
val fullId = appId + "/" + execId
executors.get(fullId) match {