Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

For some reason, I could not get away with using the simple way to register the piggybank jar file shown in that quick tutorial.  I had to actually load it to HDFS, I put it at /user/hue/jars/piggybank.jar, then register as shown below and explained in more detail in the comments section of create and share a pig udf (anyone can do it).

REGISTER /user/hue/jars/piggybank.jar;  --that is an HDFS path

 

I got into trouble when I ran convert-emp and Hue's Pig interface complained for me to "Please initialize HIVE_HOME".  You may not run into this problem yourself as the fix (which I actually got help from Hortonworks Support on as seen in Case_00004924.pdf) was simply to add    As the ticket said, that would be painful if I had to do for tons of nodes, especially with the version of Ambari I'm using that does not yet allow you to do operations like this one many machines at a time.  That said, I just needed to add it to three workers via the Ambari feature show below.

...