Error:
ERROR org.apache.pig.tools.grunt.Grunt – ERROR 1070: Could not resolve
org.apache.hcatalog.pig.HCatLoader using imports: [,
org.apache.pig.builtin., org.apache.pig.impl.builtin.]
Resolution:
1. Login to sandbox as root.
2. vi /usr/bin/pig
3. Replace the last line with the following line:
exec /usr/lib/pig/bin/pig -useHCatalog “$@”
No comments:
Post a Comment