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

Pig Error

$
0
0

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.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



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