country_data = LOAD '/home/centos/project_1/flagdata.txt' USING PigStorage(',') as (name:chararray, landmass:int, zone:int, area:chararray, population:chararray, lang:int, rel:int, bar:int, stripes:int, col:int, red:int, green:int, blue:int, gold:int, white:int, black:int, orange:int, hue:chararray, circle:int, cross:int, saltire:int, quars:int, suns:int, cres:int, triangle:int, icon:int, animate:int, text:int, left:chararray, right:chararray);
grouped_data = GROUP country_data BY landmass;
count_data = FOREACH grouped_data GENERATE group,COUNT(country_data);
DUMP count_data;
正在获取转储日志:
2021-03-21 11:48:59616[main]错误org.apache.pig.tools.grunt.grunt
错误2017:创建作业配置时发生内部错误。
日志文件中的详细信息:/home/centos/pig1616352528938.log
暂无答案!
目前还没有任何答案,快来回答吧!