zhouyejoe commented on a change in pull request #33078:
URL: https://github.com/apache/spark/pull/33078#discussion_r663664400
##########
File path:
common/network-common/src/main/java/org/apache/spark/network/util/TransportConf.java
##########
@@ -419,4 +419,11 @@ public long mergedIndexCacheSize() {
public int ioExceptionsThresholdDuringMerge() {
return
conf.getInt("spark.shuffle.server.ioExceptionsThresholdDuringMerge", 4);
}
+
+ /**
+ * The application attemptID assigned from Hadoop YARN.
+ */
+ public int appAttemptId() {
+ return conf.getInt("spark.app.attempt.id", -1);
Review comment:
This is in network-common module, so it is not able to use the
ConfigBuilder from core module.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]