Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Pig using HCatalog issue with AWS based HDPCD Practice Exam

$
0
0

Pig using HCatalog issue with AWS based HDPCD Practice Exam.

I’m working my way through the AWS based HDPCD Practice Exam, for context see the following document : http://hortonworks.com/wp-content/uploads/2015/02/HDPCD-PracticeExamGuide1.pdf

Task 5: Use HCatalog with Pig.
Pig statements with -useHCatalog option fail with missing .jar files

Portion of error message:
ls: cannot access /usr/hdp/2.2.0.0-2041/hive/lib/slf4j-api-*.jar: No such file or directory
ls: cannot access /usr/hdp/2.2.0.0-2041/hive/lib/commons-lang3-*.jar: No such file or directory
ls: cannot access /usr/hdp/2.2.0.0-2041/hive-hcatalog/lib/*hbase-storage-handler-*.jar: No such file or directory
2015-06-11 21:28:22,494 [main] ERROR org.apache.pig.PigServer – exception during parsing: Error during parsing. Could not resolve org.apache.hcatalog.pig.HCatLoader using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]

Multiple people are having the same issue. Has anyone else worked through this practice exam and have a solution?

Thank you,
Todd


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>