You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Mohammad Kamrul Islam (JIRA)" <ji...@apache.org> on 2014/09/29 08:58:34 UTC

[jira] [Resolved] (HADOOP-11139) Allow user to choose JVM for container execution

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

Mohammad Kamrul Islam resolved HADOOP-11139.
--------------------------------------------
      Resolution: Implemented
    Release Note: 
As mentioned in the patch of YARN-1964
hadoop jar $HADOOP_INSTALLATION_DIR/share/hadoop/mapreduce/hadoop-mapreduce-examples-*.jar \
teragen \
-Dmapreduce.map.env="JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" \
-Dyarn.app.mapreduce.am.env="JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64" \
1000 teragen_out_dir

> Allow user to choose JVM for container execution
> ------------------------------------------------
>
>                 Key: HADOOP-11139
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11139
>             Project: Hadoop Common
>          Issue Type: Task
>            Reporter: Mohammad Kamrul Islam
>            Assignee: Mohammad Kamrul Islam
>
> Hadoop currently supports one JVM defined through JAVA_HOME. 
> Since multiple JVMs (Java 6,7,8,9) are active, it will be helpful if there is an user configuration to choose the custom but supported JVM for her job.
> In other words, user will be able to choose her expected JVM only for her container execution while Hadoop services may be running on different JVM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)