hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6472) Possible Java sandbox improvements
Date Wed, 12 Apr 2017 22:35:41 GMT

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

Hadoop QA commented on YARN-6472:
---------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue}
Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} docker {color} | {color:red} 16m 23s{color} | {color:red}
Docker failed to build yetus/hadoop:612578f. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | YARN-6472 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12863148/YARN-6472.002.patch
|
| Console output | https://builds.apache.org/job/PreCommit-YARN-Build/15613/console |
| Powered by | Apache Yetus 0.5.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> Possible Java sandbox improvements
> ----------------------------------
>
>                 Key: YARN-6472
>                 URL: https://issues.apache.org/jira/browse/YARN-6472
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Miklos Szegedi
>            Assignee: Greg Phillips
>         Attachments: YARN-6472.001.patch, YARN-6472.002.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