我正在加载如下:
A = LOAD'/home/sawanvijay/Datasets/xml/DATA_EMP.xml' USING org.apache.pig.piggybank.storage.XMLLoader('ROW') AS (M:CHARARRAY);
错误如下所示:
ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve org.apache.pig.piggybank.storage.XMLLoader using imports: [,
org.apache.pig.builtin., org.apache.pig.impl.builtin.]
Details at logfile: /home/sawanvijay/pig_1453003016754.log
答案 0 :(得分:1)
看来,你没有注册pigybank jar文件。请参阅此处的说明https://cwiki.apache.org/confluence/display/PIG/PiggyBank 注册piggybank jar文件。