You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/02/21 07:35:17 UTC

[GitHub] stczwd commented on a change in pull request #23827: [SPARK-26912][CORE][HISTORY] Allow setting permission for event_log

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org