mridulm commented on a change in pull request #32007:
URL: https://github.com/apache/spark/pull/32007#discussion_r638399675
##########
File path:
common/network-common/src/main/java/org/apache/spark/network/util/TransportConf.java
##########
@@ -419,4 +419,8 @@ public long mergedIndexCacheSize() {
public int ioExceptionsThresholdDuringMerge() {
return
conf.getInt("spark.shuffle.server.ioExceptionsThresholdDuringMerge", 4);
}
+
+ public int appAttemptId() {
+ return conf.getInt("spark.app.attempt.id", -1);
Review comment:
@Ngone51 Curious if you mean about the assumption of parsing attempt as
an `int` ? Or simply about this (attempts) being used only in yarn currently ?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]