我对这个oozie不熟悉,我不知道怎么做实际。我正在使用oozie中的hive操作来运行默认示例文件...
这是我的Job.properties文件
nameNode=hdfs://localhost:8020
jobTracker=localhost:8021
queueName=default
examplesRoot=exampless
oozie.libpath=/user/${user.name}/${examplesRoot}/apps/examples-lib
oozie.wf.application.path=/practical/examples/apps/hive
注意:/ practical / examples / apps / hive是包含workflow.xml文件的hdfs路径
我收到错误:
错误:E0504:E0504:工作流程应用程序目录 [/ practical / examples / apps / hive]不存在(但我有 该路径中的workflow.xml文件)
答案 0 :(得分:0)
I think you should set
oozie.wf.application.path to
hdfs://hostname:8020/practical/examples/apps/hive
instead of /practical/examples/apps/hive as it is not an hdfs location and
it will start searching in local file system not hdfs.
Example:
nameNode=hdfs://quickstart.cloudera:8020
oozie.wf.application.path =
${nameNode}/user/${user.name}/practical/examples/apps/hive