A = load 'emp1' Using org.apache.hcatalog.pig.HCatLoader(); 2016-03-04 22:09:43,693 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2998: Unhandled internal error. org/apache/hive/hcatalog/mapreduce/HCatInputFormat Details at logfile: /usr/lib/hive-0.13.1-bin/hcatalog/share/hcatalog/pig_1457109532357.log
This is your third question in the forum regarding the same issue, and you have not chosen answers to your previous posts. You will get better results from the forum if you resolve your previous posts before opening new ones.
Can you share the contents of the log file mentioned in the error message above? There is probably some useful information in there:
I have already applied the solutions yu told but same issues now after logging again in morning this new issue appeared I am sending you the content of file:
Pig Stack Trace --------------- ERROR 2998: Unhandled internal error. org/apache/hive/hcatalog/mapreduce/HCatInputFormat
That is a classpath issue. You probably don't have your HADOOP_CLASSPATH set correctly - the HCatalog JARs are missing. Are you running HDP? What is the value of your HADOOP_CLASSPATH?
I already have this table in default db
Please use HDP to run your examples, Apache Hadoop release requires a lot more manual configuration to make Hive, HCatalog and Pig work together.