stczwd commented on a change in pull request #23827: 
[SPARK-26912][CORE][HISTORY] Allow setting permission for event_log
URL: https://github.com/apache/spark/pull/23827#discussion_r258807436
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/internal/config/package.scala
 ##########
 @@ -83,6 +83,11 @@ package object config {
       .booleanConf
       .createWithDefault(false)
 
+  private[spark] val EVENT_LOG_PERMISSION =
+    ConfigBuilder("spark.eventLog.permission")
+      .stringConf
+      .createWithDefault("770")
 
 Review comment:
   I didn't change the default value for spark_event_log permission, the static 
config for this is 770.
   Using the hadoop fs cmd can indeed solve the permission problem, but it also 
means the user needs to set the permissions every time they run Spark. It is 
awful

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to