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

Maja Kabiljo commented on GIRAPH-121:
-------------------------------------

You are having a problem because of 
{noformat}ReflectionUtils.<VertexResolver>getTypeArguments(VertexResolver.class,
 vertexResolverClass);{noformat}
from GraphMapper. This method doesn't work if the first argument is interface. 
If you make VertexResolver to be an abstract class tests pass. 
Also, I think that in BspUtils you should call 
{noformat}conf.getClass(GiraphJob.VERTEX_RESOLVER_CLASS, 
BasicVertexResolver.class, VertexResolver.class);{noformat}
                
> BasicVertexResolver should be implementation and VertexResolver should be 
> interface
> -----------------------------------------------------------------------------------
>
>                 Key: GIRAPH-121
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-121
>             Project: Giraph
>          Issue Type: Improvement
>          Components: graph
>    Affects Versions: 0.1.0
>            Reporter: Claudio Martella
>            Assignee: Claudio Martella
>            Priority: Trivial
>              Labels: newbie
>         Attachments: GIRAPH-121.patch
>
>
> After the change of naming in Vertex, VertexResolver and BasicVertexResolver 
> naming should be synched.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to