Created 12-26-2015 01:07 PM
In latest practice exam in AWS, pig -useHCatalog not loading all the jars required. I am trying to fix these by adding classpath or using REGISTER. My question here is do we need to deal/spend time with such environmental issues in real exam?. Other day when I started AWS instance, services were not running at first instance. @rich helped me to address this.
Created 12-26-2015 04:46 PM
Can you share the error? I am guessing it is either not an error (there is a warning you can ignore), or you are using the wrong package name for HCatLoader. The class name to use is:
org.apache.hive.hcatalog.pig.HCatLoader
Let me know if you get it to work.
Created 12-30-2015 10:43 PM
I have used org.apache.hive.hcatalog.pig.HCatLoader in practice exam instance still getting 3 errors for missing jar files. How to fix to continue to work on that instance?
Created 12-31-2015 06:47 PM
What errors are you getting? And what is the command you are using to run the code? Perhaps you could share your code also.
Thanks.
Created 01-10-2017 12:42 AM
You must use the correct package in you Pig script.
data = LOAD 'db.table' using org.apache.hive.hcatalog.pig.HCatLoader();