Created on 12-15-2014 11:38 AM - edited 09-16-2022 02:15 AM
I found this solution but I can't find Cloudera Manager navigation to Distributed Cache, edit properties, to add HBase jar file . See solution I'm trying to implement below:
Hue uses the Oozie pig action to execute pig scripts.
It seems like you're missing the hbase jar. Could you try adding them to the distributed cache via the resources section in 'Edit properties'? You should be able to add files and archives.
Hi abe thanks for the suggestion - doesn't seem to fix it though. I tried adding hbase.jar (from /usr/lib/hbase on the hue server) as a file and as an archive but both resulted in the same "Unhandled internal error. org/apache/hadoop/hbase/mapreduce/TableInputFormat" error as before.
-
The jar is not automatically added to the classpath, it is just copied next to the running job.
I would recommend to add the hbase*.jars to the Oozie sharelib '/user/oozie/share/lib/pig' which is used for submitting the jobs: create a 'oozie' user in Hue (or use 'hdfs', as it is the HDFS superuser) and then upload the files there and make sure they are readable by everyone 'http://hue_server:8888/filebrowser/#/user/oozie/share/lib/pig'.
One another advantage of doing this is that it will be automatically included in all the pig scripts.
Romain
-
Hi Romain, that works for me, thanks a lot 🙂
Created 12-16-2014 10:12 AM
Created 12-16-2014 11:58 AM
Thanks Romain!!
Created 12-16-2014 10:12 AM
Created 12-16-2014 11:58 AM
Thanks Romain!!