Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6704

Update the documents to run MapReduce application

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • documentation
    • None

    Description

      Container fail to launch for mapred application.
      As part for launch script HADOOP_MAPRED_HOME default value is not set .After https://github.com/apache/hadoop/commit/9d4d30243b0fc9630da51a2c17b543ef671d035c HADOOP_MAPRED_HOME is not able to get from builder.environment() since DefaultContainerExecutor#buildCommandExecutor sets inherit to false.

      16/05/02 09:16:05 INFO mapreduce.Job: Job job_1462155939310_0004 failed with state FAILED due to: Application application_1462155939310_0004 failed 2 times due to AM Container for appattempt_1462155939310_0004_000002 exited with  exitCode: 1
      Failing this attempt.Diagnostics: Exception from container-launch.
      Container id: container_1462155939310_0004_02_000001
      Exit code: 1
      Stack trace: ExitCodeException exitCode=1:
              at org.apache.hadoop.util.Shell.runCommand(Shell.java:946)
              at org.apache.hadoop.util.Shell.run(Shell.java:850)
              at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1144)
              at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:227)
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.launchContainer(ContainerLaunch.java:385)
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:281)
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:89)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      
      
      Container exited with a non-zero exit code 1. Last 4096 bytes of stderr :
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0
      Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
      
      Container exited with a non-zero exit code 1. Last 4096 bytes of stderr :
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0
      

      Attachments

        1. 0001-YARN-5026.patch
          4 kB
          Bibin Chundatt
        2. 0001-MAPREDUCE-6704.patch
          4 kB
          Bibin Chundatt
        3. container-whitelist-env-wip.patch
          13 kB
          Bibin Chundatt
        4. MAPREDUCE-6704.0002.patch
          3 kB
          Bibin Chundatt
        5. ClusterSetup.html
          54 kB
          Bibin Chundatt
        6. SingleCluster.html
          31 kB
          Bibin Chundatt
        7. MR-6704-branch2.8.tar.gz
          14 kB
          Zhankun Tang
        8. MR-6704-trunk.tar.gz
          5 kB
          Zhankun Tang
        9. temp.patch
          2 kB
          Bibin Chundatt
        10. MR-6704-trunk-tempPatch.tar.gz
          20 kB
          Zhankun Tang
        11. MAPREDUCE-6704.0002.patch
          3 kB
          Bibin Chundatt

        Issue Links

          Activity

            People

              bibinchundatt Bibin Chundatt
              bibinchundatt Bibin Chundatt
              Votes:
              1 Vote for this issue
              Watchers:
              28 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: