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

Allow user to choose JVM for container execution

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • None
    • None
    • None
    • 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

              kamrul Mohammad Islam
              kamrul Mohammad Islam
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: