When I attempt to execute this script in pig from hue, I get an error (below):
a = LOAD ‘testdb.nyse_stocks’ USING org.apache.hcatalog.pig.HCatLoader();
ERROR org.apache.pig.PigServer – exception during parsing: Error during parsing. Cannot get schema from loadFunc org.apache.hcatalog.pig.HCatLoader
failed to parse: Can not retrieve schema from loader org.apache.hcatalog.pig.HCatLoader@7d3d3eec
Can anyone provide any advice on debugging this problem? Hcat is able to see the table, I can query it from Beeswax, etc.