Ozzie Inputformat MapReduce API [英] Ozzie Inputformat MapReduce API

查看:94
本文介绍了Ozzie Inputformat MapReduce API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用自定义输入格式创建OOZIE作业.我正在使用新的API并进行了设置:

I'm trying to create an OOZIE job with a custom inputformat. I am using the new API and have set :

  <property>
        <name>mapred.mapper.new-api</name>
         <value>true</value>
  </property>
   <property>
       <name>mapred.reducer.new-api</name>
       <value>true</value>
   </property>

我正在搜索的属性名称是:

The property name I'm triying is :

 <property>
    <name>mapreduce.job.inputformat.class</name
     <value>org.lab41.dendrite.generator.kronecker.mapreduce.lib.input.QuotaInputFormat</value>
  </property>

属性名称正确吗?

推荐答案

您可以看到此页面 https://cwiki.apache.org/confluence/display/OOZIE/Map +减少+食谱

正确的属性名称应为'mapred.input.format.class'

correct property name should be 'mapred.input.format.class'

所以,您可以这样写:

<property>
    <name>mapred.input.format.class</name>
    <value>org.lab41.dendrite.generator.kronecker.mapreduce.lib.input.QuotaInputFormat</value>
</property>

这篇关于Ozzie Inputformat MapReduce API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆