You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2019/05/16 01:35:00 UTC

[jira] [Resolved] (YARN-9555) Yarn Docs : single cluster yarn setup - Step 1 configure parameters - multiple roots

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

Akira Ajisaka resolved YARN-9555.
---------------------------------
    Resolution: Duplicate

Closing this as duplicate.

> Yarn Docs : single cluster yarn setup - Step 1 configure parameters - multiple roots
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-9555
>                 URL: https://issues.apache.org/jira/browse/YARN-9555
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 3.0.2
>            Reporter: Vishva
>            Priority: Minor
>
> Step 1 for [https://hadoop.apache.org/docs/r3.2.0/hadoop-project-dist/hadoop-common/SingleCluster.html#YARN_on_Single_Node]
>  
> Configure parameters as follows:
> {{etc/hadoop/mapred-site.xml}}:
>  
> <configuration>
>     <property>
>         <name>mapreduce.framework.name</name>
>         <value>yarn</value>
>     </property>
> </configuration>
> <configuration>
>     <property>
>         <name>mapreduce.application.classpath</name>
>         <value>$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*:$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*</value>
>     </property>
> </configuration>
> but setting this will throw an error when running yarn : 
> {color:#6a9955}2019-05-14{color} {color:#6a9955}16:32:05,815{color} {color:#ce9178}ERROR{color} {color:#569cd6}org.apache.hadoop.conf.Configuration{color}{color:#d4d4d4}: error parsing conf {color}{color:#569cd6}mapred-site.xml{color}
> {color:#ce9178}com.ctc.wstx.exc.WstxParsingException{color}{color:#d4d4d4}: Illegal to have multiple roots (start tag in epilog?).{color}This should be modified to 
> {code:java}
> <configuration> 
> <property> 
> <name>mapreduce.framework.name</name> 
> <value>yarn</value> 
> </property> 
> <property> 
> <name>mapreduce.application.classpath</name> 
> <value>$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*:$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*</value> 
> </property> 
> </configuration>{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org