hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-1532) Unable to run any MR program on Windows 7 for hadoop2.2 GA >>Exception from container-launch:
Date Thu, 26 Dec 2013 17:45:50 GMT

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

Chris Nauroth resolved YARN-1532.
---------------------------------

    Resolution: Duplicate

This looks like a duplicate of YARN-1138, which reports that the default configuration of
{{yarn.application.classpath}} uses Unix-specific syntax for environment variables.  Until
a patch is available for that, you can work around the problem by overriding your configuration
in yarn-site.xml to use Windows-style environment variables, like this:

{code}
  <property>
    <name>yarn.application.classpath</name>
    <value>%HADOOP_CONF_DIR%,%HADOOP_COMMON_HOME%/share/hadoop/common/*,%HADOOP_COMMON_HOME%/share/hadoop/common/lib/*,%HADOOP_HDFS_HOME%/share/hadoop/hdfs/*,%HADOOP_HDFS_HOME%/share/hadoop/hdfs/lib/*,%HADOOP_MAPRED_HOME%/share/hadoop/mapreduce/*,%HADOOP_MAPRED_HOME%/share/hadoop/mapreduce/lib/*,%HADOOP_YARN_HOME%/share/hadoop/yarn/*,%HADOOP_YARN_HOME%/share/hadoop/yarn/lib/*</value>
  </property>
{code}


> Unable to run any MR program on  Windows 7 for hadoop2.2 GA >>Exception from container-launch:
> ----------------------------------------------------------------------------------------------
>
>                 Key: YARN-1532
>                 URL: https://issues.apache.org/jira/browse/YARN-1532
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: Windows 7(64 bit)
>            Reporter: Hadoop Developer
>            Priority: Critical
>
> Unable to run any MR program on Hadoop 2.2 because of some classpath issue which is failing
container launch.
> user logs on namenode shows:
> java.lang.NoClassDefFoundError: org/apache/hadoop/service/CompositeService
> and 
> Could not find the main class: org.apache.hadoop.mapreduce.v2.app.MRAppMaster.  Program
will exit.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message