Hi,     I want to use hama to run a job, which is consist of two phase.  
    The first phase try to find proper neighbors. The vertex execute 
voteToHalt() method when it doesn't receive any message. When all vertexes vote 
to halt, the first phase finished.
    Then the second phase starts based on the result of the first phase. The 
output of the first phase is the input of the first phase.
    Now I use two hama tasks to finish these two phase. While I think it's 
unnecessary to output the result and then read it. I want to finish these two 
phase in one hama task. How could I do this?
Best Regards, Ping Liu.

Reply via email to