Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/538#discussion_r12016242
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala ---
    @@ -51,10 +52,12 @@ private[spark] class EventLoggingListener(
       private val logBaseDir = conf.get("spark.eventLog.dir", 
"/tmp/spark-events").stripSuffix("/")
       private val name = appName.replaceAll("[ :/]", "-").toLowerCase + "-" + 
System.currentTimeMillis
       val logDir = logBaseDir + "/" + name
    +  val LOG_FILE_PERMISSIONS: FsPermission =
    +    FsPermission.createImmutable(Integer.parseInt("770", 8).toShort: Short)
    --- End diff --
    
    Also I think it's better if we move this to `object EventLoggingListener`, 
alongside with other scary all caps variables.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to