New Contributor
Posts: 5
Registered: ‎02-07-2018
Re: Running Pig scripts from HUE editor - Job gets killed

I should have used the following code. This specifies the correct directory that Hadoop understands.


data = LOAD '/user/cloudera/midsummer.txt' as (text:CHARARRAY);
upper_case = FOREACH data GENERATE UPPER(text);
STORE upper_case INTO '/user/cloudera/midsummerOutput2';

View solution in original post

Who Me Too'd this solution