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

Default setting 'inheritParentEnv=false' caused mr executor failed to initialize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0-alpha1
    • None
    • nodemanager
    • None

    Description

      MR default classpath depend on the "HADOOP_MAPRED_HOME" , defined at MRJobConfig#DEFAULT_MAPREDUCE_APPLICATION_CLASSPATH.
      On 3.0.0.alpha1 , contain "Remove parent's env vars from child processes " which commit by Robert Kanter ,but it's seem not found in jira or release note. DefaultContainerExecutor & DefaultLinuxContinerExecutor default the 'inheritParentEnv' as false,there is no any approach to set the "HADOOP_MAPRED_HOME" ,the AM failed by "Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Deng FEI DENG FEI
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: