[jira] [Commented] (GIRAPH-40) Adding checkstyle enforcement of Giraph code conventions

2012-02-15 Thread Jakob Homan (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13208731#comment-13208731
 ] 

Jakob Homan commented on GIRAPH-40:
---

ok, looks good to me.  +1.  However, since no one can do a full review of this 
patch, I'd like another committer to +1 it as well before committing.  This 
helps us to explain away not actually doing a full review.

 Adding checkstyle enforcement of Giraph code conventions
 

 Key: GIRAPH-40
 URL: https://issues.apache.org/jira/browse/GIRAPH-40
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Assignee: Avery Ching
Priority: Minor
 Attachments: GIRAPH-40.2.patch, GIRAPH-40.patch, GIRAPH-40.patch


 Now that we have some code conventions (see GIRAPH-21), we should enforce 
 them with a maven checkstyle plugin.

--
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




[jira] [Commented] (GIRAPH-40) Adding checkstyle enforcement of Giraph code conventions

2012-02-15 Thread Jakob Homan (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13208750#comment-13208750
 ] 

Jakob Homan commented on GIRAPH-40:
---

Actually, I have a concern:
 Compiles will now fail if checkstyle guidelines are not met.
I tested this and it's true.  This means that if you have an extra space in an 
if statement, you can't compile, even if you're planning to clean up the code 
later.  This is going to be a huge problem.  During development the code has to 
*always* pass checkstyle, not just when submitting a patch.  Is there a way to 
turn this off for compile and just run checkstyle during a specific run? This 
would mean that it would be up to the submitted and committer to verify 
correctness, exactly as is required currently with rat... I have to withdraw my 
-1.

 Adding checkstyle enforcement of Giraph code conventions
 

 Key: GIRAPH-40
 URL: https://issues.apache.org/jira/browse/GIRAPH-40
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Assignee: Avery Ching
Priority: Minor
 Attachments: GIRAPH-40.2.patch, GIRAPH-40.patch, GIRAPH-40.patch


 Now that we have some code conventions (see GIRAPH-21), we should enforce 
 them with a maven checkstyle plugin.

--
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




[jira] [Updated] (GIRAPH-40) Adding checkstyle enforcement of Giraph code conventions

2012-02-15 Thread Avery Ching (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/GIRAPH-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Avery Ching updated GIRAPH-40:
--

Attachment: GIRAPH-40.3.patch

Good suggestion, Jakob.  I have addressed Jakob's comments by changing phases 
from 'compile'-'verify' for checkstyle.  This is the only change I made.  

{noquote}
   execution
-phasecompile/phase
+phaseverify/phase
 goals
{noquote}

We need to require our users to have tested with 'mvn verify' (or 'mvn 
install') before submitting diffs.  This matches the rat approach.

 Adding checkstyle enforcement of Giraph code conventions
 

 Key: GIRAPH-40
 URL: https://issues.apache.org/jira/browse/GIRAPH-40
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Assignee: Avery Ching
Priority: Minor
 Attachments: GIRAPH-40.2.patch, GIRAPH-40.3.patch, GIRAPH-40.patch, 
 GIRAPH-40.patch


 Now that we have some code conventions (see GIRAPH-21), we should enforce 
 them with a maven checkstyle plugin.

--
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




[jira] [Commented] (GIRAPH-40) Adding checkstyle enforcement of Giraph code conventions

2012-02-15 Thread Jakob Homan (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13208786#comment-13208786
 ] 

Jakob Homan commented on GIRAPH-40:
---

Thanks.  +1 on latest patch, while still hoping to get another committer to 
take a look.

 Adding checkstyle enforcement of Giraph code conventions
 

 Key: GIRAPH-40
 URL: https://issues.apache.org/jira/browse/GIRAPH-40
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Assignee: Avery Ching
Priority: Minor
 Attachments: GIRAPH-40.2.patch, GIRAPH-40.3.patch, GIRAPH-40.patch, 
 GIRAPH-40.patch


 Now that we have some code conventions (see GIRAPH-21), we should enforce 
 them with a maven checkstyle plugin.

--
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




[jira] [Commented] (GIRAPH-147) Add Blueprints Tinkerpop support

2012-02-15 Thread Dan Brickley (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13208857#comment-13208857
 ] 

Dan Brickley commented on GIRAPH-147:
-

I like both TinkerPop and Giraph, but it's not obvious exactly what 'support' 
would mean. Can you spell out the exact proposal?

This could be simple re-use of some API interfaces for graphs and their parts; 
or more ambitious efforts to parallelise Gremlin-style graph navigation 
expressions.

 Add Blueprints Tinkerpop support
 

 Key: GIRAPH-147
 URL: https://issues.apache.org/jira/browse/GIRAPH-147
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Priority: Minor

 Got this issue on the old Giraph GitHub (deprecated).  Moving it here.
 jeffg2k opened this issue 2 hours ago
 Hoping that Giraph might add TinkerPop Blueprint support. :)

--
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




[jira] [Commented] (GIRAPH-147) Add Blueprints Tinkerpop support

2012-02-15 Thread Dan Brickley (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13208864#comment-13208864
 ] 

Dan Brickley commented on GIRAPH-147:
-

See also 

http://markorodriguez.com/2011/04/19/local-and-distributed-traversal-engines/

 Add Blueprints Tinkerpop support
 

 Key: GIRAPH-147
 URL: https://issues.apache.org/jira/browse/GIRAPH-147
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Priority: Minor

 Got this issue on the old Giraph GitHub (deprecated).  Moving it here.
 jeffg2k opened this issue 2 hours ago
 Hoping that Giraph might add TinkerPop Blueprint support. :)

--
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




[jira] [Commented] (GIRAPH-147) Add Blueprints Tinkerpop support

2012-02-15 Thread Jeff G (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13208895#comment-13208895
 ] 

Jeff G commented on GIRAPH-147:
---

Word from Marko...
{quote}Make is so that the Blueprints interface is implemented.
   GiraphVertex implements bluprints.Vertex extends giraph.BasicVertex
   GiraphEdge implements bluprints.Edge extends giraph.BasicEdge

This way people familiar with Blueprints can talk at the property graph level 
of abstraction. E.g.
   v.getProperty(key) - ((Map)getVertexValue()).get(key)
   v.getId() - v.getVertexId();

?? .. I don't know how useful this would be... it would simply make it easy for 
people that know Blueprints to write their vertex-centric message passing code 
in terms of Blueprints. Eg.

public compute(IteratorM messageIterator) {
   Double rank = this.getProperty(job123456_arank)
   while(messageIterator.hasNext()) {
   rank = messageIterator.next().value() + rank;
   }
   this.setProperty(job123456_rank, rank);
}

Again, I don't know how useful this would be. ---

Thanks,
Marko.{quote}

 Add Blueprints Tinkerpop support
 

 Key: GIRAPH-147
 URL: https://issues.apache.org/jira/browse/GIRAPH-147
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Priority: Minor

 Got this issue on the old Giraph GitHub (deprecated).  Moving it here.
 jeffg2k opened this issue 2 hours ago
 Hoping that Giraph might add TinkerPop Blueprint support. :)

--
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




[jira] [Commented] (GIRAPH-147) Add Blueprints Tinkerpop support

2012-02-15 Thread Jakob Homan (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13208902#comment-13208902
 ] 

Jakob Homan commented on GIRAPH-147:


I'd be reluctant to add the blueprints support at that deep of a level; it 
would be better to have a vertex and edge combo that implements the blueprints 
model higher up.  I'm reluctant to commit to another project at that 
fundamental of a position in our definitions.

 Add Blueprints Tinkerpop support
 

 Key: GIRAPH-147
 URL: https://issues.apache.org/jira/browse/GIRAPH-147
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Priority: Minor

 Got this issue on the old Giraph GitHub (deprecated).  Moving it here.
 jeffg2k opened this issue 2 hours ago
 Hoping that Giraph might add TinkerPop Blueprint support. :)

--
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




[jira] [Commented] (GIRAPH-147) Add Blueprints Tinkerpop support

2012-02-15 Thread Claudio Martella (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13208975#comment-13208975
 ] 

Claudio Martella commented on GIRAPH-147:
-

i doubt it could be useful at all and for sure it would not allow to use 
gremlin (still need all the message passing semantic beneath to be 
implemented). the only thing it would allow is to access blueprints-typical API 
for accessing properties belonging to vertices. that's all.

 Add Blueprints Tinkerpop support
 

 Key: GIRAPH-147
 URL: https://issues.apache.org/jira/browse/GIRAPH-147
 Project: Giraph
  Issue Type: New Feature
Reporter: Avery Ching
Priority: Minor

 Got this issue on the old Giraph GitHub (deprecated).  Moving it here.
 jeffg2k opened this issue 2 hours ago
 Hoping that Giraph might add TinkerPop Blueprint support. :)

--
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