我正在尝试在色调中运行 mapreduce 作业。我按照以下步骤操作:
Fill out the Edit Node form
1)Enter ooziemrwf as the name, and "oozie MapReduce workflow" as the description.
2) Navigate to the JAR file location and upload the JAR file.
3) Click the Add Property button and add each of these four properties:
Property Name
Value
mapred.mapper.class org.apache.oozie.example.SampleMapper
mapred.reducer.class org.apache.oozie.example.SampleReducer
mapred.output.dir /user/mapr/mapreducejob/wfoutput
mapred.input.dir /oozie/examples/input-data/text
4) Navigate to the JAR file and select it as the input path.
5)Click Done. The MapReduce action appears in the workflow.
6) Click Save.
Under Actions in the navigation panel, click Submit. When the Submit this job? dialog appears, click Submit.
我上传了工作 jar 添加的属性,但我无法理解第 4 步,即导航到 JAR 文件并选择它作为输入路径。有人可以告诉那究竟是什么吗?你可以引用
http://doc.mapr.com/display/MapR/Working+with+Hue
最佳答案
不确定此时您是否能够“运行”任何东西。
有很多事情可能会出错。
我假设您正在使用 HUE 来创建作业定义。
关于hadoop - 色调步骤中的 Mapreduce 工作不清楚,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22892021/