You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sandeep Katta (JIRA)" <ji...@apache.org> on 2019/03/05 08:20:00 UTC
[jira] [Resolved] (SPARK-26850) Make EventLoggingListener
LOG_FILE_PERMISSIONS configurable
[ https://issues.apache.org/jira/browse/SPARK-26850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandeep Katta resolved SPARK-26850.
-----------------------------------
Resolution: Duplicate
> Make EventLoggingListener LOG_FILE_PERMISSIONS configurable
> -----------------------------------------------------------
>
> Key: SPARK-26850
> URL: https://issues.apache.org/jira/browse/SPARK-26850
> Project: Spark
> Issue Type: Wish
> Components: Scheduler
> Affects Versions: 2.2.3, 2.3.2, 2.4.0
> Reporter: Hua Zhang
> Priority: Minor
>
> 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.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org