on-internet
← Community

Illustrate command gives "Error reading data. Internal error creating job configuration."

Stack Overflow ·

]$ cat webccess.txt mark,yahoo.com,6 sam,google.com,7 john,yahoo.com,3 patrick,cnn.com,8 mary,facebook.com,1 mark,yahoo.com,4 john,bbc.com,10 andrew,twitter.com,3 patrick,twitter.com,9 I am running below task in Cloudera Quick Vm Hue-Pig Shell(Grunt) grunt> stage1 = LOAD '/user/cloudera/webaccess.txt' USING PigStorage(',') AS (name:chararray, website:chararray, access:int); grunt> DUMP stage1; grunt> stage2 = FILTER stage1 by access >= 8; grunt> stage3 = GROUP stage1 by name; grunt> stage4 = FOREACH stage3 GENERATE group as GROUPS, MAX(stage1.access); grunt> DUMP stage4; OUTPUT: (sam,7) (john,

Comments

Sign in or sign up to comment and upvote.

No comments yet.