hama-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "步青云" <mailliup...@qq.com>
Subject Vertices didn't become active when it received messages
Date Tue, 21 Jan 2014 15:12:47 GMT
I have a question,Should a vertex become active when it receive some messages,even though
it was inactive before receiving message?
Now,my program got a problem.In detail,some vertices became inactive in Superstep n.And they
would receive messages in Superstep n+m.In my opinion,these vertices which received messages
should became active.However,they are not.If these vertices didn't become inactive in Superstep
n,the program would run util it reach MaxIteration.
What should I do?What's more,I am debuging at local model of Hama 0.6.2.And when I running
on distributed mode of Hama 0.6.3,the same problem appeared.
Some code of my program are as follows:
                         if (getSuperstepCount() >= 3) {
				if (!match || (!messages.iterator().hasNext())) {
				for (TriTextPair msg : messages) {
				boolean flag = judge(judgeList, matchSet);
				if (flag) {
				} else {
					sendMessageToNeighbors(new TriTextPair(getVertexID(),
							getLabel(), new Text("frP")));

Are there any errors in my program?I need help.Thanks.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message