hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6472) Improve Java sandbox regex
Date Fri, 28 Apr 2017 18:37:04 GMT

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

Hudson commented on YARN-6472:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11649 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11649/])
YARN-6472. Improve Java sandbox regex (gphillips via rkanter) (rkanter: rev 68e45f554b6cf7d56fca6bbf6e89dc4f55fdc716)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/runtime/JavaSandboxLinuxContainerRuntime.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/runtime/TestJavaSandboxLinuxContainerRuntime.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/runtime/DelegatingLinuxContainerRuntime.java


> Improve Java sandbox regex
> --------------------------
>
>                 Key: YARN-6472
>                 URL: https://issues.apache.org/jira/browse/YARN-6472
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Miklos Szegedi
>            Assignee: Greg Phillips
>             Fix For: 3.0.0-alpha3
>
>         Attachments: YARN-6472.001.patch, YARN-6472.002.patch, YARN-6472.003.patch
>
>
> I set the sandbox to enforcing mode. Unfortunately I was able to break out of the sandbox
running native code with the following command:
> {code}
>         cmd = "$JAVA_HOME/bin/java %s -Xmx825955249 org.apache.hadoop.yarn.applications.helloworld.HelloWorld
`touch ../../helloworld`" + \
>               " 1><LOG_DIR>/AppMaster.stdout 2><LOG_DIR>/AppMaster.stderr"
> $ ls .../nm-local-dir/usercache/root/appcache/
> helloworld
> {code}
> Also, if I am not using sandboxes, could we create the nm-sandbox-policies directory
(empty) lazily?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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