thank you Kevin, it is working now. ...
thank you Kevin, it is working now.
I have just installed Hortonworks Sandbox 2.0 on Oracle Virtual Box (Microsoft version) and while trying to complete the first tutorial (tutorial 1) i have faced the below error:
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.]
below is my Pig script:
a = LOAD ‘nyse_stocks’ USING org.apache.hcatalog.pig.HCatLoader();
b = filter a by stock_symbol == ‘IBM’;
c = group b all;
d = foreach c generate AVG(b.stock_volume);
what should i do to fix this issue?
You must be logged in to reply to this topic.