Vishva created YARN-9555:
----------------------------

             Summary: 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


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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to