Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Celebrating as our community reaches 100,000 members! Thank you!
Labels (2)
avatar
Super Guru

SYMPTOM: Script runs fine in grunt, however, it fails when executed in Hue Pig editor.

Script is as below -

Pig script: 
A = load '/tmp/baseball'; 
dump A; 

ERROR: Below are the error logs -

10755-screen-shot-2016-12-24-at-124005-pm.png

ROOT CAUSE: The property templeton.libjars was pointing to the wrong jar files:

/usr/hdp/${hdp.version}/zookeeper,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar/zookeeper.jar

10756-screen-shot-2016-12-24-at-124458-pm.png

RESOLUTION:

After changing path for "templeton.libjars" to /usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar the script ran successful in the Hue Pig editor.

Please do check - https://community.hortonworks.com/articles/15958/templetonlibjars-property-changed-its-value-after.h...


screen-shot-2016-12-24-at-124005-pm.png
912 Views