How to configure oozie workflow for multi-input path with multiple mappers

眉间皱痕 提交于 2020-01-20 07:18:38

问题


Can any one help me in configuring a work flow with Map-Reduce action, that takes multiple input paths each input path is associated to one Mapper as like MultipleInputs.addInputPath api takes input path and a mapper. The out put of these mappers will be given to reducer.

I tried this with java action, but it will execute only one map task. But here input path contains huge data, so java action will not us in this case.

Is there any way in handling this case?

Regards, Krish.


回答1:


In the workflow you can give a comma separated list of input directories in mapred.input.dir . This will make the files in those directories to run on different mappers.



来源:https://stackoverflow.com/questions/18270454/how-to-configure-oozie-workflow-for-multi-input-path-with-multiple-mappers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!