更新时间:2024-06-27 GMT+08:00
分享

查看Oozie应用调测结果

操作场景

Oozie样例工程运行完成后可以通过控制台查看输出结果。

操作步骤

控制台显示运行结果会有如下成功信息:

cluset status is false
Warning: Could not get charToByteConverterClass!
Workflow job submitted: 0000067-160729120057089-oozie-omm-W
Workflow job running ...0000067-160729120057089-oozie-omm-W
Workflow job running ...0000067-160729120057089-oozie-omm-W
Workflow job running ...0000067-160729120057089-oozie-omm-W
Workflow job running ...0000067-160729120057089-oozie-omm-W
Workflow job running ...0000067-160729120057089-oozie-omm-W
Workflow job running ...0000067-160729120057089-oozie-omm-W
Workflow job running ...0000067-160729120057089-oozie-omm-W
Workflow job completed ...0000067-160729120057089-oozie-omm-W
Workflow id[0000067-160729120057089-oozie-omm-W] status[SUCCEEDED]
-----------finish Oozie -------------------

同时在HDFS上生成目录“/user/developuser/examples/output-data/map-reduce”,包括如下两个文件:

  • _SUCCESS
  • part-00000

可以通过Hue的文件浏览器或者通过HDFS如下命令行查看:

hdfs dfs -ls /user/developuser/examples/output-data/map-reduce

在Windows下面执行的时候可能会出现下面的异常,但是不影响业务:

  java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

相关文档