You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2011/03/22 19:54:06 UTC

[jira] [Commented] (HADOOP-5983) Namenode shouldn't read mapred-site.xml

    [ https://issues.apache.org/jira/browse/HADOOP-5983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009783#comment-13009783 ] 

Daryn Sharp commented on HADOOP-5983:
-------------------------------------

I cannot reproduce on trunk.  I am unable to find references to the mapred config in the namenode code.  To verify, I created a mapred-site.xml and local-mapred-site.xml with syntax errors.  The namenode starts w/o a problem.

> Namenode shouldn't read mapred-site.xml
> ---------------------------------------
>
>                 Key: HADOOP-5983
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5983
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.20.0
>            Reporter: Rajiv Chittajallu
>            Assignee: Daryn Sharp
>
> The name node seem to read mapred-site.xml and fails if it can't parse it.
> 2009-06-05 22:37:15,663 FATAL org.apache.hadoop.conf.Configuration: error parsing conf file: org.xml.sax.SAXParseException: Error attempting to parse XML file (href='/hadoop/conf/local/local-mapred-site.xml').
> 2009-06-05 22:37:15,664 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.lang.RuntimeException: org.xml.sax.SAXParseException: Error attempting to parse XML file (href='/hadoop/conf/local/local-mapred-site.xml').
> In our config,  local-mapred-site.xml is included only in mapred-site.xml which we don't push to the namenode.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira