[ 
https://issues.apache.org/jira/browse/HAMA-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693568#comment-13693568
 ] 

Edward J. Yoon commented on HAMA-767:
-------------------------------------

{quote}
1) I have some concerns about the partitioner. At this point, the partitioner 
will always return to me correct peer. But the case is not the same if we have 
a random or probabilistic partitioner. Should I keep in mind a use case like 
that?
{quote}

Nope, I don't think that's necessary. Because the graph update operations 
fundamentally requires communications and synchronizations between processors 
in distributed environment. 

{quote}
2) When I delete a vertex, should I return their value and edges? (To do that 
the deleted vertex will have to send a message on the next super step, and I 
believe that will be confusing).
{quote}

I'm not sure, exactly... Why do you think it should be returned to User?

{quote}
3) On ListVertecesInfo interface, we will have to force implement a remove 
method. I want to also enforce this method to return an exception when the 
vertex is not there. Which is the exception that will match the best? Currently 
I'm using UnsupportedOperationException.
{quote}

Let's create our own VertexNotFoundException class.

                
> [GSoC 2013] Vertex addition and removal
> ---------------------------------------
>
>                 Key: HAMA-767
>                 URL: https://issues.apache.org/jira/browse/HAMA-767
>             Project: Hama
>          Issue Type: New Feature
>          Components: examples, graph
>    Affects Versions: 0.6.1
>            Reporter: Anastasis Andronidis
>            Assignee: Anastasis Andronidis
>              Labels: dynamic, graph, gsoc, gsoc2013, mentoring
>             Fix For: 0.6.3
>
>         Attachments: HAMA-767-addAndRemove-v1.patch, 
> HAMA-767-addition-v1.patch, HAMA-767-examplesAndTests-v1.patch
>
>
> Implement addVertex and removeVertex methods for incremental graph support on 
> Graph API.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to