English 中文(简体)
我能够迫使我的削减者(范围阶段)只有在所有地图绘制者完成之后才能开始。
原标题:Can I force my reducers (copy phase) to start only when all mappers are completed

I have an hadoop job with a pretty long map phase and I want other short jobs to be run in priority. For this I set the priority of my long job with hadoop job -set-priority job_id LOW.

问题在于,就我的长期工作而言,即使我完成30%的地图任务,削减者的复印阶段也开始。

My grid is then kind of bloked as all the reduce slots are taken by the LOW priority job. The other small jobs can do their map phases but they will never get any reducer until my long job is finihed.

Any idea? Thanks. J.

最佳回答

I found myself the answer to my question: there is a job conf parameter that does exactly the job:

地图:0.90

the reduce tasks only start when 90% of the maps are completed. Default value is 0.05.

问题回答

暂无回答




相关问题
Possible to sandbox Python configuration file?

I m thinking of implementing a configuration file written in Python syntax, not unlike what Django does. While I ve seen one or two SO questions about the merits of using executable code in ...

How to validate Java logging properties files?

I have a basic facility for allowing users to remotely apply changes to the logging files in my application. Some logs are configured using java.util.logging properties files, and some are configured ...

Where should I put this configuration setting?

I m designing a fairly small web application which will run on a Sun application server (v9.1). It only has a few pages, no database of its own, and will retrieve/update data via web services. There s ...

.Net application configuration add xml-data

I need to add xml-content to my application configuration file. Is there a way to add it directly to the appSettings section or do I need to implement a configSection? Is it possible to add the xml ...

Dependency bundle (jar-files/sources/API docs) in Eclipse

I m developing various in-house extensions for JIRA, the issue tracker we use. So far I worked with Netbeans and everything worked like a charm. However, now I need to switch to Eclipse and I m ...

热门标签