Support Questions

Find answers, ask questions, and share your expertise

Who agreed with this solution

avatar
Explorer

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 agreed with this solution