cloudera / cdh-twitter-example

Example application for analyzing Twitter data using CDH - Flume, Oozie, Hive
288 stars 343 forks source link

Configuration issues with Oozie 3.1.3-cdh4.0.1 ? #2

Open Phocion opened 12 years ago

Phocion commented 12 years ago

This is a great tutorial - many thanks for posting it. I follow all of the set up instructions, but get hung up on running the Oozie workflow, with error: "Error: E0504 : E0504: App directory [hdfs://phocion:8020/user/tim/oozie-workflows/coord-app.xml] does not exist"

The file certainly does exist, and there doesn't seem to be an issue with permissions. I'm not sure if this error is suggesting it can't find coord-app.xml or if there is an issue with a setting in coord-app.xml. Could there be some issue with my default CDH4 setup?

tim@phocion:/user/tim$ oozie version Oozie client build version: 3.1.3-cdh4.0.1

tim@phocion:/user/tim$ oozie job -oozie http://localhost:11000/oozie -config oozie-workflows/job.properties -run Error: E0504 : E0504: App directory [hdfs://phocion:8020/user/tim/oozie-workflows/coord-app.xml] does not exist

tim@phocion:/user/tim$ sudo -u oozie [ -f oozie-workflows/coord-app.xml ] && echo "FOUND" || "NOT FOUND" FOUND

tim@phocion:/user/tim$ ls -l oozie-workflows/ total 24 -rwxr-xr-x 1 tim tim 938 Sep 24 21:29 add_partition.q -rwxr-xr-x 1 tim tim 1356 Sep 26 11:09 coord-app.xml -rwxr-xr-x 1 tim tim 1918 Sep 24 21:29 hive-action.xml -rwxr-xr-x 1 tim tim 2200 Sep 24 21:29 hive-site.xml -rwxr-xr-x 1 tim tim 1356 Sep 26 11:32 job.properties drwxr-xr-x 2 tim tim 4096 Sep 24 21:29 lib

joey commented 11 years ago

Did you run 'hadoop fs -put oozie-workflows /user/tim'?