hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1908) Distributed shell with custom script has permission error.
Date Tue, 08 Apr 2014 20:16:17 GMT

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

Xuan Gong commented on YARN-1908:
---------------------------------

+1 LGTM

> Distributed shell with custom script has permission error.
> ----------------------------------------------------------
>
>                 Key: YARN-1908
>                 URL: https://issues.apache.org/jira/browse/YARN-1908
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications/distributed-shell
>    Affects Versions: 2.4.0
>            Reporter: Tassapol Athiapinya
>            Assignee: Vinod Kumar Vavilapalli
>         Attachments: YARN-1908.1.patch, YARN-1908.2.patch, YARN-1908.3.patch, YARN-1908.4.patch
>
>
> Create test1.sh having "pwd".
> Run this command as user1:
> hadoop jar /usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell.jar -jar /usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell.jar
-shell_script test1.sh
> NM is run by yarn user. An exception is thrown because yarn user has no permissions on
custom script in hdfs path. The custom script is created with distributed shell app.
> {code}
> Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException):
Permission denied: user=yarn, access=WRITE, inode="/user/user1/DistributedShell/70":user1:user1:drwxr-xr-x
> 	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkFsPermission(FSPermissionChecker.java:265)
> {code}



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

Mime
View raw message