Created on 02-07-2018 08:03 AM - edited 09-16-2022 05:50 AM
Hi,
I am new to hdfs/pig and need quick help. I just installed the cloudera quickstart VM using VMWare.
On running this script(the upper text sample) -
data = LOAD '/home/cloudera/midsummer.txt' as (text:CHARARRAY);
upper_case = FOREACH data GENERATE org.apache.pig.piggybank.evaluation.string.UPPER(text);
STORE upper_case INTO '/home/cloudera/midsummer2.txt';
It takes 3 to 4 minutes and runs the map part and does not do the reduce. I see the following error on the job workflow page:-
Cannot access: /user/hue/oozie/workspaces/hue-oozie-1452553957.19/${wf:appPath()}/pig-b118.pig/. Note: you are a Hue admin but not a HDFS superuser, "hdfs" or part of HDFS supergroup, "supergroup".
InvalidPathException: Invalid path name Invalid file name: /user/hue/oozie/workspaces/hue-oozie-1452553957.19/${wf:appPath()}/pig-b118.pig (error 400)
I logged on to Hue using the cloudera user and on seeing this error also gave hadoop group to cloudera as well. From Oozie I see the error - JA0189 - Main class [org.apache.oozie.action.hadoop.PigMain], exit code [2]
Your help will be appreciated.
Thanks
Regards
Santhosh