Created 02-12-2018 08:24 AM
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';