[ https://issues.apache.org/jira/browse/YARN-7992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Yang resolved YARN-7992. ----------------------------- Resolution: Not A Problem Launch_container.sh is copied to usercache with proper permission. That copy is the one used by docker container launcher. Therefore the intermediate copy in nmPrivate with incorrect permission is not an issue. > launch_container.sh has the wrong file permission > ------------------------------------------------- > > Key: YARN-7992 > URL: https://issues.apache.org/jira/browse/YARN-7992 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Eric Yang > Priority: Major > > Docker workload fail to launch because launch_container.sh has wrong > permission 644 instead of 700. The pid file has permission 700 instead of > 644. > Expected Permission of files in localized directory: > {code} > 277136341 0 drwxr-s--- 3 hbase hadoop 65 Mar 2 00:01 . > 294331500 0 drwxr-s--- 2 hbase hadoop 6 Mar 2 00:01 ./tmp > 277136342 4 -rwx------ 1 hbase hadoop 3799 Mar 2 00:01 > ./launch_container.sh > 277136343 4 -rw------- 1 hbase hadoop 222 Mar 2 00:01 > ./container_tokens > {code} > Currently Permission of files in localized directory: > {code} > total 24 > drwxr-xr-x. 2 yarn hadoop 4096 Mar 2 01:20 . > drwxr-xr-x. 3 yarn hadoop 51 Mar 2 01:20 .. > -rwx------. 1 yarn hadoop 4 Mar 2 01:20 > container_1519953398658_0001_01_000003.pid > -rw-r--r--. 1 yarn hadoop 222 Mar 2 01:20 > container_1519953398658_0001_01_000003.tokens > -rw-r--r--. 1 yarn hadoop 12 Mar 2 01:20 > .container_1519953398658_0001_01_000003.tokens.crc > -rw-r--r--. 1 yarn hadoop 3799 Mar 2 01:20 launch_container.sh > -rw-r--r--. 1 yarn hadoop 40 Mar 2 01:20 .launch_container.sh.crc > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org