hama-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon" <edwardy...@apache.org>
Subject Re: nodes not waking..?
Date Sun, 12 May 2013 11:33:55 GMT
The initial Vertex APIs, JobRunner, and Combiners code are written by
me, but I didn't look closely at other recent additions. If you are
going to analyze the whole Hama graph package, Pls share with me
later.

On Sun, May 12, 2013 at 6:33 AM, Ηλίας Καπουράνης <ikapoura@csd.auth.gr>
wrote:
> Hey Kostas,
>   I don't know if this will help but there is a scenario that can explain
> your situation.
> Check to see if you create ALL the nodes that you have in your graph. What I
> mean is:
> Suppose we have this input file,
>
> 1 2
> 2 1
> 2 3
>
>  We have nodes 1,2 and 3 where 1 is pointing to 2 and 2 is pointing to 1 and
> 3. (Directed)
> If you use the vertex reader from one of the examples from wiki, we will
> result with
> 2 BSPpeers(the vertices) , the one with ID 1 and the second with ID 2. The
> node 3 will not be
> inserted as an active Vertex because the VertexInputReader class will not
> return it.
> If this isn't so clear, then the simple solution:
>   If a node doesn't have outgoing edges and the format is the above, insert
> a new line in the file
> with the ID of the node and some character that follows it. In our example
> the input file would be:
>
> 1 2
> 2 1
> 2 3
> 3 $
>
> The dollar sign is just an example too, you can put whatever you like or
> even a whole sentece.
> We have to write it in that way because if the Reader takes a sentece
> without a space spliting
> the line, it gives an exception.
> So this would be wrong:
>
> 1 2
> 2 1
> 2 3
> 3$
>
> Don't forget the space between the ID and the character! Hope it helps! And
> sorry for the long post..!
>
>
> Στις 11/5/2013 3:26 μμ, ο/η Edward J. Yoon έγραψε:
>
>> See
>> http://svn.apache.org/repos/asf/hama/trunk/graph/src/main/java/org/apache/hama/graph/GraphJobRunner.java
>> and ctrl + f + 'vertex.setActive();'. You can use the log4j or
>> System.out + local mode.
>>
>> Yes, or please use the TRUNK.
>>
>> On Sat, May 11, 2013 at 7:36 PM, Kostas Xirog <k0stasx1rog@gmail.com>
>> wrote:
>>>
>>> Hello,
>>>
>>> I'm having unusual issues with Hama, where messages get sent to nodes at
>>> some point but these nodes that are supposed to recieve the messages
>>> don't
>>> wake up and don't execute the compute function... Is there a way I can
>>> see
>>> the graph data that hama creates before the computation just to be
>>> certain
>>> that everything went well during the data entry?
>>>
>>> P.S. I'm currently using Hama 0.6, should I upgrade to 0.6.1 ? Do you
>>> think
>>> it would help?
>>>
>>> Thank you in advance
>>
>>
>>
>



--
Best Regards, Edward J. Yoon
@eddieyoon

Mime
View raw message