phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <>
Subject Unable to Use bulkloader to load Control-A delimited file
Date Wed, 30 Dec 2015 00:21:44 GMT
We want to use bulkload tool to load files that are delimited by Control-A.
We are running this command on Phoenix 4.4(HDP2.2):
hadoop jar
org.apache.phoenix.mapreduce.CsvBulkLoadTool --table LEAD_SALES_DATA
--input /user/psawant/part-m-00000 -o /tmp/phx_bulk -d $'\001'

Above command is as per this phoenix doc:

I have tried to look here:

Similar to, we dont encode
special characters with Base64 encoding?

We get this error:

2015-12-29 15:26:43,801 INFO [main] Created MRAppMaster
for application appattempt_1448997579389_27927_000001
2015-12-29 15:26:44,105 FATAL [main]
org.apache.hadoop.conf.Configuration: error parsing conf job.xml
org.xml.sax.SAXParseException; systemId:
lineNumber: 78; columnNumber: 74; Character reference "&#1" is an
invalid XML character.
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(
	at org.apache.hadoop.conf.Configuration.parse(
	at org.apache.hadoop.conf.Configuration.loadResource(
	at org.apache.hadoop.conf.Configuration.loadResources(
	at org.apache.hadoop.conf.Configuration.getProps(
	at org.apache.hadoop.conf.Configuration.get(
	at org.apache.hadoop.mapreduce.v2.util.MRWebAppUtil.initialize(

Thanks & Regards,
Anil Gupta

View raw message