Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26850

Make EventLoggingListener LOG_FILE_PERMISSIONS configurable

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.2.3, 2.3.2, 2.4.0
    • None
    • Scheduler, Spark Core
    • None

    Description

      private[spark] object EventLoggingListener extends Logging

      { ... private val LOG_FILE_PERMISSIONS = new FsPermission(Integer.parseInt("770", 8).toShort) ... }

       

      Currently the event log files are hard-coded with permission 770.

      It would be fine if this permission is configurable.

      User case: The spark application is submitted by user A but the spark history server is started by user B. Currently user B cannot access the history event files created by user A. When permission is set to 775, this will be possible.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            happyhua Hua Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: