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] [Commented] (YARN-7412) test_docker_util.test_check_mount_permitted() is failing
Date Sat, 28 Oct 2017 07:12:00 GMT

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

Eric Yang commented on YARN-7412:
---------------------------------

Different distros seem to link /usr/bin to /bin or vis-versa.  Maybe it is safer to choose
a file out side of /usr/bin or /bin?  How about /etc/profile?

> test_docker_util.test_check_mount_permitted() is failing
> --------------------------------------------------------
>
>                 Key: YARN-7412
>                 URL: https://issues.apache.org/jira/browse/YARN-7412
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Haibo Chen
>            Assignee: Eric Badger
>            Priority: Critical
>         Attachments: YARN-7412.001.patch
>
>
> Test output
>     <testcase name="test_check_mount_permitted" status="run" time="0.001" classname="TestDockerUtil">
>       <failure message="/home/haibochen/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/utils/test_docker_util.cc:444&#x0A;
     Expected: itr-&gt;second&#x0A;      Which is: 1&#x0A;To be equal to: ret&#x0A;
     Which is: 0&#x0A;for inp
> ut /usr/bin/touch" type=""><![CDATA[/home/haibochen/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/utils/test_docker_util.cc:444
>       Expected: itr->second
>       Which is: 1
> To be equal to: ret
>       Which is: 0
> for input /usr/bin/touch]]></failure>
>     </testcase>
>     <testcase name="test_normalize_mounts" status="run" time="0" classname="TestDockerUtil">
>       <failure message="/home/haibochen/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/utils/test_docker_util.cc:462&#x0A;
     Expected: expected[i]&#x0A;      Which is: &quot;/usr/bin/touch&quot;&#x0A;To
be equal to: ptr[i]&#x0A;
>  Which is: &quot;/bin/touch&quot;" type=""><![CDATA[/home/haibochen/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/utils/test_docker_util.cc:462
>       Expected: expected[i]
>       Which is: "/usr/bin/touch"
> To be equal to: ptr[i]
>       Which is: "/bin/touch"]]></failure>
>     </testcase>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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