Hi Gabriel,

Thanks for the info. What is the backward compatibility policy of Phoenix
releases? Would 4.5.3 client jar work with Phoenix4.4 server jar?
4.4 and 4.5 are considered two major release or minor releases?

Thanks,
Anil Gupta

On Tue, Dec 29, 2015 at 11:11 PM, Gabriel Reid <gabriel.r...@gmail.com>
wrote:

> Hi Anil,
>
> This issue was resolved a while back, via this ticket:
> https://issues.apache.org/jira/browse/PHOENIX-2238
>
> Unfortunately, that fix is only available starting from Phoenix 4.6
> and 4.5.3 (i.e. it wasn't back-ported to 4.4.x).
>
> - Gabriel
>
> On Wed, Dec 30, 2015 at 1:21 AM, anil gupta <anilgupt...@gmail.com> wrote:
> > Hi,
> > 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
> > /usr/hdp/current/phoenix-client/phoenix-4.4.0.2.3.2.0-2950-client.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:
> > https://phoenix.apache.org/bulk_dataload.html
> >
> > I have tried to look here:
> https://issues.apache.org/jira/browse/HADOOP-7542
> >
> > Similar to https://issues.apache.org/jira/browse/HBASE-3623, we dont
> encode
> > special characters with Base64 encoding?
> >
> > We get this error:
> >
> > 2015-12-29 15:26:43,801 INFO [main]
> > org.apache.hadoop.mapreduce.v2.app.MRAppMaster: 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:
> >
> file:///grid/4/hadoop/yarn/local/usercache/hbase/appcache/application_1448997579389_27927/container_e11_1448997579389_27927_01_000001/job.xml;
> > 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(DocumentBuilder.java:150)
> >       at
> org.apache.hadoop.conf.Configuration.parse(Configuration.java:2480)
> >       at
> >
> org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2549)
> >       at
> >
> org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2502)
> >       at
> org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2405)
> >       at
> org.apache.hadoop.conf.Configuration.get(Configuration.java:1232)
> >       at
> >
> org.apache.hadoop.mapreduce.v2.util.MRWebAppUtil.initialize(MRWebAppUtil.java:51)
> >       at
> >
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1444)
> >
> >
> >
> > --
> > Thanks & Regards,
> > Anil Gupta
>



-- 
Thanks & Regards,
Anil Gupta

Reply via email to