A = LOAD 'eventnew.txt' USING HCatalogLoader();
2015-07-08 19:56:34,875 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve HCatalogLoader using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.] Details at logfile: /home/KS5023833/pig_1436364102374.log
Then I tried
A = LOAD 'xyz' USING org.apache.hive.hcatalog.pig.HCatLoader();
This is also not working.
1070: Could not resolve org.apache.hive.hcatalog.pig.HCatLoader using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]
what is the problem? I am a novice in Hadoop.
grunt>
shell, did you type$ pig -useHCatalog
? – Mum