Re: Hadoop 0.20.0, xml parsing related error

2009-06-25 Thread Steve Loughran
Ram Kulbak wrote: Hi, The exception is a result of having xerces in the classpath. To resolve, make sure you are using Java 6 and set the following system property: -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl This can also be

Hadoop 0.20.0, xml parsing related error

2009-06-24 Thread murali krishna
Hi, Recently migrated to hadoop-0.20.0 and I am facing https://issues.apache.org/jira/browse/HADOOP-5254 Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.documentbuilderfactoryi...@1e9e5c73:java.lang.UnsupportedOperationException: This parser does not support

Re: Hadoop 0.20.0, xml parsing related error

2009-06-24 Thread Ram Kulbak
Hi, The exception is a result of having xerces in the classpath. To resolve, make sure you are using Java 6 and set the following system property: -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl This can also be resolved by the

Re: Hadoop 0.20.0, xml parsing related error

2009-06-24 Thread Murali Krishna. P
Thanks Ram, Setting that system property solved the issue. Thanks, Murali Krishna From: Ram Kulbak ram.kul...@gmail.com To: core-user@hadoop.apache.org Sent: Wednesday, 24 June, 2009 7:29:37 PM Subject: Re: Hadoop 0.20.0, xml parsing related error Hi