This is an automated email from the ASF dual-hosted git repository.
sunchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 6e466a4513b Revert "[SPARK-37205][FOLLOWUP] Should call non-static
setTokensConf method"
6e466a4513b is described below
commit 6e466a4513b3bc0eb449a47e163ccf6116434b19
Author: Chao Sun <[email protected]>
AuthorDate: Fri Jul 1 09:43:19 2022 -0700
Revert "[SPARK-37205][FOLLOWUP] Should call non-static setTokensConf method"
This reverts commit ded5981823ac8e8e9339291415d9828dfcc6e062.
---
.../yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
b/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
index 46c3117a14b..99741d9f759 100644
---
a/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
+++
b/resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
@@ -391,7 +391,7 @@ private[spark] class Client(
throw new SparkException(s"Cannot find setTokensConf method in
${amContainer.getClass}." +
s" Please check YARN version and make sure it is 2.9+ or 3.x")
}
- setTokensConfMethod.invoke(amContainer, ByteBuffer.wrap(dob.getData))
+ setTokensConfMethod.invoke(ByteBuffer.wrap(dob.getData))
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]