It looks like classpath issue due guava version. Could you check the guava 
version CDH 5.4.4 is using ? AFAIK, Tez use guava 11.02 and pig use guava 11.0



Best Regard,
Jeff Zhang


From: Sandeep Kumar <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, September 2, 2015 at 2:28 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Pig(0.14.0) on Tez(0.7.0)

Hi Guys,

I've a pig script which is as follows:

map = LOAD 'input/' using 
com.RawPigLoader('conf/Map.xml','conf/R360MapSignalling.json','csv');
normalized_map_data = foreach r360map generate flatten(com.Map($0..));

data_grouped_over_event_time = GROUP normalized_map_data by (((startTime/1000) 
/ 3600) * 3600) PARTITION BY com.CustomTimePartitioner;
final_data = foreach data_grouped_over_event_time generate flatten($1);

store final_data into 'tmp/200MB' using com.StorageModel();


I'm trying to run my Pig job using Tez but i'm facing an exception which is 
attached. I searched over net and found some vague solutions. I've only two 
configuration entries in my tez-site.xml which are as follows:

<property>
  <name>tez.lib.uris</name>
  <value>hdfs://node3:8020/user/hdfs/tez-0.7.0.tar.gz</value>
</property>
<property>
  <description>URL for where the Tez UI is hosted</description>
  <name>tez.tez-ui.history-url.base</name>
  <value>http://node4:9999/tez-ui/</value>
</property>

Is there anything else which i'm missing and supposed to be added in Tez 
configuration file.
I've compiled PIG-0.14.0 manually with Tez-0.7.0 whereas it provided with 
Tez-0.5.2 but the exception is coming in both the versions of tez.

Following are the version of softwares i'm using.

HadoopVersion: 2.6.0-cdh5.4.4
PigVersion: 0.14.0-SNAPSHOT
TezVersion: 0.7.0



Regards,
Sandeep

Reply via email to