当我尝试执行下面的猪脚本在我的Cloudera VM我收到以下错误猪脚本错误
grunt> sta1 = LOAD 'hdfs://localhost.localdomain:8020/user/cloudera/movies_data.csv' USING
PigStorage(',') AS (sno:int, moviename:chararray, year:int, rating:float, collect:int);
2014年10月5日07:34:19670 [主] ERROR组织。 apache.pig.tools.grunt.Grunt - 错误1070:无法解析 使用导入的pigstorage:[,org.apache.pig.builtin。, org.apache.pig.impl.builtin。]日志文件的详细信息: /home/cloudera/pig_1412519459490.log
这个错误是因为PigStorage(','),我认为当你加载数据集时,你可能已经为PigStorage(',')中的p和s提供了小型大写字母 – 2014-11-04 06:50:32
发布您的日志。 – Kumar 2014-11-27 08:51:28