Skip to content

Commit 2707a5a

Browse files
committed
Revert "[SPARK-37205][FOLLOWUP] Should call non-static setTokensConf method"
This reverts commit 7e2a182.
1 parent f96b96d commit 2707a5a

File tree

1 file changed

+1
-1
lines changed
  • resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn

1 file changed

+1
-1
lines changed

resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ private[spark] class Client(
391391
throw new SparkException(s"Cannot find setTokensConf method in ${amContainer.getClass}." +
392392
s" Please check YARN version and make sure it is 2.9+ or 3.x")
393393
}
394-
setTokensConfMethod.invoke(amContainer, ByteBuffer.wrap(dob.getData))
394+
setTokensConfMethod.invoke(ByteBuffer.wrap(dob.getData))
395395
}
396396
}
397397

0 commit comments

Comments
 (0)