Skip to main content
sshimpi
Gold ⭐️
December 24, 2016

Pig editor in Hue not working

  • October 5, 2026 at 9:31 AM
  • 0 replies
  • 1214 views
  • Translate All

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.html


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