phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Reid <gabriel.r...@gmail.com>
Subject Re: Error: org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/joda/time/format/DateTimeFormatter
Date Mon, 02 Mar 2015 13:33:23 GMT
Sorry, hit send too soon.

This appears to be an issue with CDH 5.3 shipping with an outdated
version of joda-time, see:
http://community.cloudera.com/t5/Batch-Processing-and-Workflow/CDH-5-3-CLASSPATH-Issue/td-p/23188

According to the info in that link, this has also been resolved by
Cloudera in CDH 5.3.1.

There are a couple of workarounds mentioned in the linked page for the
meantime, but I think the easiest one which should work is just to do
this before starting your import job:
export HADOOP_USER_CLASSPATH_FIRST=true


- Gabriel



On Mon, Mar 2, 2015 at 2:32 PM, Gabriel Reid <gabriel.reid@gmail.com> wrote:
> This appears to be an issue with CDH 5.3 shipping with an outdated version
> of joda-time, see:
> http://community.cloudera.com/t5/Batch-Processing-and-Workflow/CDH-5-3-CLASSPATH-Issue/td-p/23188
>
> According to the info in that link, this has also been resolved by Cloudera
> in CDH 5.3.1.
>
> There are a couple of workarounds mentioned in the linked page, but I think
> the easiest one which should work is just to do this before starting your
> import job:
>
>
>
> On Mon, Mar 2, 2015 at 2:26 PM Bulvik, Noam <Noam.Bulvik@teoco.com> wrote:
>>
>> I am using CDH 5.3.0
>>
>>
>>
>> I do not have too much more in the log :
>>
>> ….
>>
>> 15/03/02 15:20:13 INFO mapreduce.Job: The url to track the job:
>> http://dc50-dev-bd15:8088/proxy/application_1425226676791_0083/
>>
>> 15/03/02 15:20:13 INFO mapreduce.Job: Running job: job_1425226676791_0083
>>
>> 15/03/02 15:21:00 INFO mapreduce.Job: Job job_1425226676791_0083 running
>> in uber mode : false
>>
>> 15/03/02 15:21:00 INFO mapreduce.Job:  map 0% reduce 0%
>>
>> 15/03/02 15:21:24 INFO mapreduce.Job: Task Id :
>> attempt_1425226676791_0083_m_000000_0, Status : FAILED
>>
>> Error:
>> org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/joda/time/format/DateTimeFormatter;
>>
>> 15/03/02 15:21:35 INFO
>> client.HConnectionManager$HConnectionImplementation: Closing zookeeper
>> sessionid=0x24bd5223c471259
>>
>> 15/03/02 15:21:35 INFO zookeeper.ZooKeeper: Session: 0x24bd5223c471259
>> closed
>>
>> 15/03/02 15:21:35 INFO zookeeper.ClientCnxn: EventThread shut down
>>
>>
>>
>> From: Gabriel Reid [mailto:gabriel.reid@gmail.com]
>> Sent: Monday, March 2, 2015 3:13 PM
>> To: user@phoenix.apache.org
>> Subject: Re: Error:
>> org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/joda/time/format/DateTimeFormatter
>>
>>
>>
>> Is there more of a stack trace you could post around the error?
>>
>> I'm guessing that this is something along the lines of
>> NoSuchMethodException. Could you also post some info on your environment?
>> Which version of Hadoop and HBase are you using? Is there an alternate
>> version of joda-time on your classpath somewhere (e.g. in your Hadoop lib
>> directory)?
>>
>>
>>
>>
>>
>> On Mon, Mar 2, 2015 at 2:09 PM Bulvik, Noam <Noam.Bulvik@teoco.com> wrote:
>>
>> When using CSV bulk loader with dates I am getting this error Error:
>> org.joda.time.format.DateTimeFormatter.withZoneUTC()Lorg/joda/time/format/DateTimeFormatter
>>
>>
>>
>>
>>
>>
>>
>> Table DDL:
>>
>> create table TS_TEST
>>
>> ( ID                 integer   not null,
>>
>>   REC_TIMESTAMP      timestamp not null,
>>
>>   REC_TIMESTAMP_STR  varchar   not null
>>
>>   CONSTRAINT TS_TEST_PK PRIMARY KEY (ID,REC_TIMESTAMP,REC_TIMESTAMP_STR) )
>>
>> COMPRESSION='SNAPPY';
>>
>>
>>
>> Input File Data:
>>
>> 1,2015-03-01 00:00:00.111,2015-03-01 00:00:00.111
>>
>> 2,2015-03-01 01:00:00.222,2015-03-01 01:00:00.222
>>
>> 3,2015-03-01 02:00:00.333,2015-03-01 02:00:00.333
>>
>> 4,2015-03-01 03:00:00.444,2015-03-01 03:00:00.444
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Information in this e-mail and its attachments is confidential and
>> privileged under the TEOCO confidentiality terms that can be reviewed here.

Mime
View raw message