You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hua Zhang (JIRA)" <ji...@apache.org> on 2019/02/08 14:17:00 UTC
[jira] [Created] (SPARK-26850) Make EventLoggingListener
LOG_FILE_PERMISSIONS configurable
Hua Zhang created SPARK-26850:
---------------------------------
Summary: 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.4.0, 2.3.2, 2.2.3
Reporter: Hua Zhang
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