Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11139

Allow user to choose JVM for container execution

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Hide
      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
      Show
      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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kamrul Mohammad Islam
                Reporter:
                kamrul Mohammad Islam
              • Votes:
                0 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: