File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
alpha/src/main/scala/org/apache/spark/deploy/yarn
stable/src/main/scala/org/apache/spark/deploy/yarn Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,7 @@ class ExecutorRunnable(
9898 val secretString = securityMgr.getSecretKey()
9999 val secretBytes =
100100 if (secretString != null ) {
101- // This uses a JavaUtils method because the reverse conversion takes
102- // place in the Yarn shuffle service, which is implemented in Java
101+ // This conversion must match how the YarnShuffleService decodes our secret
103102 JavaUtils .stringToBytes(secretString)
104103 } else {
105104 // Authentication is not enabled, so just provide dummy metadata
Original file line number Diff line number Diff line change @@ -97,8 +97,7 @@ class ExecutorRunnable(
9797 val secretString = securityMgr.getSecretKey()
9898 val secretBytes =
9999 if (secretString != null ) {
100- // This uses a JavaUtils method because the reverse conversion takes
101- // place in the Yarn shuffle service, which is implemented in Java
100+ // This conversion must match how the YarnShuffleService decodes our secret
102101 JavaUtils .stringToBytes(secretString)
103102 } else {
104103 // Authentication is not enabled, so just provide dummy metadata
You can’t perform that action at this time.
0 commit comments