word-count is map-reduce job. Map reads words and send them as keys to reduce. Reduce counts occurrence for each word. It's impossible to suspend map-reduce execution. What are you trying to verify? The only way is only way is to split word-count on two map-reduece jobs: map-only and mr-job.
Map-only could read words and apply combine function. Then you can verify output. Then start mr-job to finally aggregate counters for words. Looks weird :) 2015-02-19 14:02 GMT+03:00 xeonmailinglist <[email protected]>: > I want to check if the map output data is correct when all the map data is > correct, and use it in another program. Eg, I am running the wordcount > example. When all the map tasks finish, another program will read this data > and put it in an excel sheet. Then, the job will resume. > > I really must suspend the job when all the map tasks finish, and resume it > later. > > > On 19-02-2015 06:46, David Morel wrote: > >> I think you're describing what you imagine is a solution instead of >> describing what problem you're trying to solve. What would happen if you >> suspend the job, what difference would it make ? If you describe the use >> case in more detail that would be more useful. >> > >
