You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Xuan Gong (JIRA)" <ji...@apache.org> on 2013/11/22 01:19:35 UTC

[jira] [Commented] (YARN-1435) Custom script cannot be run because it lacks of executable bit at container level

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

Xuan Gong commented on YARN-1435:
---------------------------------

Currently, if we want to run custom script at DS. We can do it like this :
--shell_command sh --shell_script custom_script.sh


> Custom script cannot be run because it lacks of executable bit at container level
> ---------------------------------------------------------------------------------
>
>                 Key: YARN-1435
>                 URL: https://issues.apache.org/jira/browse/YARN-1435
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications/distributed-shell
>    Affects Versions: 2.2.1
>            Reporter: Tassapol Athiapinya
>            Assignee: Xuan Gong
>             Fix For: 2.2.1
>
>
> Create custom shell script and use -shell_command to point to that script. Uploaded shell script won't be able to execute at container level because executable bit is missing when container fetches the shell script from HDFS. Distributed shell should grant executable bit in this case.



--
This message was sent by Atlassian JIRA
(v6.1#6144)