You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Pooya Woodcock <po...@gmail.com> on 2013/07/11 20:29:41 UTC

MapReduce causing output_xml.properties exception

I think my last post to this list had extremely long line-lengths. Sorry
about that! Reposting TL;DR version. #hadoop in irc.freenode.org was not of
any help. HBase 0.94.4, Hadoop 1.0.4, replicated cluster node. 

M/R tasks spew "java.lang.RuntimeException: 
com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException:
Could not load the propery file 'output_xml.properties' for output method 
'xml' (check CLASSPATH) at 
org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:1313)"

export PATH=/home/replhdfs/hadoop/bin:/home/replhdfs/hbase/bin:\
	/home/replhdfs/hive/bin:$PATH

% HBASE_HOME=/home/replhdfs/hbase \
	HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath`:\
	$HBASE_HOME/conf /home/replhdfs/hbase/bin/hbase \
	org.apache.hadoop.hbase.mapreduce.CopyTable \
	-Dhbase.client.scanner.caching=100 \
	-Dmapred.map.tasks.speculative.execution=false \
	--new.name=backup_thetable thetable

I get the same type of exception when doing a simple RowCount: 

% $ HBASE_HOME=/home/replhdfs/hbase \
	HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath`:\
	$HBASE_HOME/conf /home/replhdfs/hbase/bin/hbase \
	org.apache.hadoop.hbase.mapreduce.RowCounter \
	thetable


Hadoop job_201307011128_0013 on www22
(snip)
Submit Host: www22
Submit Host Address: 10.23.0.57
Status: Failed
Failure Info:Job initialization failed: java.lang.RuntimeException: 
com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException:
Could 
not load the propery file 'output_xml.properties' for output method 
'xml' (check CLASSPATH) at 
org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:1313) 
at 
org.apache.hadoop.mapred.JobHistory$JobInfo.logSubmitted(JobHistory.java:1757) 
at org.apache.hadoop.mapred.JobInProgress$3.run(JobInProgress.java:681) 
at java.security.AccessController.doPrivileged(Native Method) at 
javax.security.auth.Subject.doAs(Subject.java:415) at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121) 
(snip)
com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException:
Could 
not load the propery file 'output_xml.properties' for output method 
'xml' (check CLASSPATH) at 
com.sun.org.apache.xml.internal.serializer.OutputPropertiesFactory.
	getDefaultMethodProperties(OutputPropertiesFactory.java:345)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.setDefaults(
	TransformerImpl.java:1149)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
	createOutputProperties(TransformerImpl.java:1110)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.<init>(
	TransformerImpl.java:258)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.<init>(
TransformerImpl.java:249)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.
	newTransformer(TransformerFactoryImpl.java:646)
at 
org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:1310) 
... 11 more
Started at: Wed Jul 10 10:43:21 MST 2013
Failed at: Wed Jul 10 10:43:21 MST 2013
Failed in: 0sec