phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salou Guillaume <>
Subject Problem with Pig 0.16 and Phoenix 4.8
Date Mon, 26 Sep 2016 15:49:41 GMT

I use Phoenix since 1 year under Phoenix 4.6 / Pig 0.12 / Cloudera CDH 5.4.1

Since we have migrated to pig 0.16 / Phoenix 4.8 / Hadoop 2.7 / JDK
1.8  load and store are broken.

We always have reducers fail, sometimes job fails sometimes it succeded :

2016-09-26 14:48:37,509 WARN [main]
org.apache.hadoop.mapred.YarnChild: Exception running child : java.lang.ClassNotFoundException: Class  not
	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSplit.readFields(
	at org.apache.hadoop.mapred.MapTask.getSplitDetails(
	at org.apache.hadoop.mapred.MapTask.runNewMapper(
	at org.apache.hadoop.mapred.YarnChild$
	at Method)
	at org.apache.hadoop.mapred.YarnChild.main(
Caused by: java.lang.ClassNotFoundException: Class  not found
	at org.apache.hadoop.conf.Configuration.getClassByName(
	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigSplit.readFields(
	... 10 more

We register phoenix jars like this :

REGISTER '/opt/apache-phoenix-4.8.0-HBase-1.2-bin/phoenix-pig-4.8.0-HBase-1.2.jar';
REGISTER '/opt/apache-phoenix-4.8.0-HBase-1.2-bin/phoenix-4.8.0-HBase-1.2-client.jar';

I've found same issues :

PigScrits which are not using Phoenix are OK.

On org.apache.phoenix.pig.PhoenixHBaseStorage we seems to have more
problems with

ERROR 0: java.lang.ClassCastException: org.joda.time.DateTime cannot be cast to

and related to :

We are switching all our cluster to java 1.7.

Any remark, advice, feedback on this kind of problem could be of great help.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message