cnauroth commented on code in PR #49858:
URL: https://github.com/apache/spark/pull/49858#discussion_r1950095189
##########
core/src/main/scala/org/apache/spark/util/Utils.scala:
##########
@@ -3151,9 +3152,31 @@ private[spark] object Utils
}
}
-private[util] object CallerContext extends Logging {
- val callerContextEnabled: Boolean =
- SparkHadoopUtil.get.conf.getBoolean("hadoop.caller.context.enabled", false)
+private[spark] object CallerContext extends Logging {
+ var callerContextEnabled: Boolean = SparkHadoopUtil.get.conf.getBoolean(
+ HADOOP_CALLER_CONTEXT_ENABLED_KEY, HADOOP_CALLER_CONTEXT_ENABLED_DEFAULT)
Review Comment:
Thank you, and I will keep it in mind in future patches.
--
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]