Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
quick fixup, logging was in the wrong place
  • Loading branch information
ArtRand committed Nov 10, 2017
commit 45b46ed6768ea50ddf23063b2a925c2a4794acc7
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ private[spark] class CoarseGrainedExecutorBackend(
}.start()

case UpdateDelegationTokens(tokenBytes) =>
logInfo(s"Received tokens of ${tokenBytes.length} bytes")
SparkHadoopUtil.get.addDelegationTokens(tokenBytes, env.conf)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a logInfo saying the tokens are being updated? This has always been helpful when debugging issues with this feature on YARN.

}

Expand Down Expand Up @@ -223,7 +224,6 @@ private[spark] object CoarseGrainedExecutorBackend extends Logging {
}

cfg.hadoopDelegationCreds.foreach { tokens =>
logInfo(s"Received tokens of ${tokens.length} bytes")
SparkHadoopUtil.get.addDelegationTokens(tokens, driverConf)
}

Expand Down