hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7992) launch_container.sh has the wrong file permission
Date Fri, 02 Mar 2018 01:53:00 GMT

     [ https://issues.apache.org/jira/browse/YARN-7992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric Yang updated YARN-7992:
----------------------------
    Description: 
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.  This regression is caused by changes
in YARN-7815.

Permission of files in localized directory before YARN-7815:
{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}

Permission of files in localized directory after YARN-7815:
{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}

  was:
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.  This regression is caused by changes
in YARN-7815.

Permission of files in localized directory before YARN-7815:
{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}

Permission of files in localized directory after YARN-7815:
{code}

{code}


> 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.  This regression is caused by changes
in YARN-7815.
> Permission of files in localized directory before YARN-7815:
> {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}
> Permission of files in localized directory after YARN-7815:
> {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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message