spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-3223) runAsSparkUser cannot change HDFS write permission properly in mesos cluster mode
Date Tue, 26 Aug 2014 05:42:59 GMT

    [ https://issues.apache.org/jira/browse/SPARK-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110314#comment-14110314
] 

Apache Spark commented on SPARK-3223:
-------------------------------------

User 'jongyoul' has created a pull request for this issue:
https://github.com/apache/spark/pull/2126

> runAsSparkUser cannot change HDFS write permission properly in mesos cluster mode
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-3223
>                 URL: https://issues.apache.org/jira/browse/SPARK-3223
>             Project: Spark
>          Issue Type: Bug
>          Components: Input/Output, Mesos
>    Affects Versions: 1.0.2
>            Reporter: Jongyoul Lee
>
> While running mesos with --no-switch_user option, HDFS account name is different from
driver and executor. It makes a permission error at last stage. Executor's id is mesos' user
id and driver's id is who runs spark-submit. So, moving output from _temporary/path/to/output/part-xxxx
to /output/path/part-xxxx fails because of permission error. The solution for this is only
setting SPARK_USER to HADOOP_USER_NAME when MesosExecutorBackend calls runAsSparkUser.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message