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

Avery Ching commented on GIRAPH-27:
-----------------------------------

Jake, please see

https://builds.apache.org/job/Giraph-trunk-Commit/3/console

[ERROR] 
/x1/jenkins/jenkins-slave/workspace/Giraph-trunk-Commit/trunk/src/main/java/org/apache/giraph/graph/Vertex.java:[145,38]
 type parameters of <I>I cannot be determined; no unique maximal instance 
exists for type variable I with upper bounds 
I,org.apache.hadoop.io.WritableComparable
[ERROR] 
/x1/jenkins/jenkins-slave/workspace/Giraph-trunk-Commit/trunk/src/main/java/org/apache/giraph/graph/Vertex.java:[150,42]
 type parameters of <V>V cannot be determined; no unique maximal instance 
exists for type variable V with upper bounds V,org.apache.hadoop.io.Writable
[ERROR] 
/x1/jenkins/jenkins-slave/workspace/Giraph-trunk-Commit/trunk/src/main/java/org/apache/giraph/graph/Vertex.java:[163,43]
 type parameters of <M>M cannot be determined; no unique maximal instance 
exists for type variable M with upper bounds M,org.apache.hadoop.io.Writable

to see the errors without explicit types.  This seems to be a known issue 
(http://stackoverflow.com/questions/2640060/inconsistency-between-sun-jre-javac-and-eclipse-java-compiler).

After the changes (build #4), it passed.


> Mutable static global state in Vertex.java should be refactored
> ---------------------------------------------------------------
>
>                 Key: GIRAPH-27
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-27
>             Project: Giraph
>          Issue Type: Improvement
>          Components: graph
>    Affects Versions: 0.70.0
>            Reporter: Jake Mannix
>            Assignee: Jake Mannix
>         Attachments: GIRAPH-27.patch, GIRAPH-27.patch
>
>
> Vertex.java has a bunch of static methods for getting/setting global graph 
> state (total number of vertices, edges, a reference to the GraphMapper, etc). 
>  Refactoring this into a GraphState object, which every Vertex can hold onto 
> a reference to (yes, a tiny bit more memory per Vertex, but in comparison to 
> what's already in there...)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to