[jira] [Created] (GIRAPH-25) NPE in BspServiceMaster when failing a job

2011-09-03 Thread Dmitriy V. Ryaboy (JIRA)
NPE in BspServiceMaster when failing a job
--

 Key: GIRAPH-25
 URL: https://issues.apache.org/jira/browse/GIRAPH-25
 Project: Giraph
  Issue Type: Bug
Reporter: Dmitriy V. Ryaboy
Priority: Minor


When BspServiceMaster times out waiting for all workers to check in, it dies 
with a NullPointerException.
This can perhaps be handled a bit more gracefully.

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




[jira] [Commented] (GIRAPH-28) Introduce new primitive-specific MutableVertex subclasses

2011-09-12 Thread Dmitriy V. Ryaboy (JIRA)

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

Dmitriy V. Ryaboy commented on GIRAPH-28:
-

I'd caution against the approach of using a MutatorIterator (that's my name for 
that pattern. Like it? :)).
It's effective, but leads to extremely confusing bugs when people try to do 
things like take the first three edges, etc. Presenting a familiar interface 
but providing a tricky unintuitive implementation is not super friendly to 
developers; I don't think we want people to have to study the API to such an 
extent they have to know these details.

 Introduce new primitive-specific MutableVertex subclasses
 -

 Key: GIRAPH-28
 URL: https://issues.apache.org/jira/browse/GIRAPH-28
 Project: Giraph
  Issue Type: New Feature
  Components: graph
Affects Versions: 0.70.0
Reporter: Jake Mannix
Assignee: Jake Mannix
 Attachments: GIRAPH-28.diff, GIRAPH-28.diff


 As discussed on the list, 
 MutableVertexLongWritable,DoubleWritable,FloatWritable,DoubleWritable (for 
 example) could be highly optimized in its memory footprint if the vertex and 
 edge data were held in a form which minimized Java object usage.

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




[jira] [Commented] (GIRAPH-28) Introduce new primitive-specific MutableVertex subclasses

2011-09-12 Thread Dmitriy V. Ryaboy (JIRA)

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

Dmitriy V. Ryaboy commented on GIRAPH-28:
-

This:

bq. Alternatively, Edge could act just like a typical Writable, and the 
IteratorEdgeI, E iterates over the same Edge object setting different 
values on it as next() is called.

 Introduce new primitive-specific MutableVertex subclasses
 -

 Key: GIRAPH-28
 URL: https://issues.apache.org/jira/browse/GIRAPH-28
 Project: Giraph
  Issue Type: New Feature
  Components: graph
Affects Versions: 0.70.0
Reporter: Jake Mannix
Assignee: Jake Mannix
 Attachments: GIRAPH-28.diff, GIRAPH-28.diff


 As discussed on the list, 
 MutableVertexLongWritable,DoubleWritable,FloatWritable,DoubleWritable (for 
 example) could be highly optimized in its memory footprint if the vertex and 
 edge data were held in a form which minimized Java object usage.

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




[jira] [Commented] (GIRAPH-28) Introduce new primitive-specific MutableVertex subclasses

2011-09-14 Thread Dmitriy V. Ryaboy (JIRA)

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

Dmitriy V. Ryaboy commented on GIRAPH-28:
-

E Jake. Sorry. Clearly, I can't tell you remote search people apart :-P

 Introduce new primitive-specific MutableVertex subclasses
 -

 Key: GIRAPH-28
 URL: https://issues.apache.org/jira/browse/GIRAPH-28
 Project: Giraph
  Issue Type: New Feature
  Components: graph
Affects Versions: 0.70.0
Reporter: Jake Mannix
Assignee: Jake Mannix
 Attachments: GIRAPH-28.diff, GIRAPH-28.diff


 As discussed on the list, 
 MutableVertexLongWritable,DoubleWritable,FloatWritable,DoubleWritable (for 
 example) could be highly optimized in its memory footprint if the vertex and 
 edge data were held in a form which minimized Java object usage.

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




[jira] [Commented] (GIRAPH-34) Failure of Vertex reflection for putVertexList from GIRAPH-27

2011-09-16 Thread Dmitriy V. Ryaboy (JIRA)

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

Dmitriy V. Ryaboy commented on GIRAPH-34:
-

Would it make sense to make the messages immutable in sendMsg?

 Failure of Vertex reflection for putVertexList from GIRAPH-27 
 --

 Key: GIRAPH-34
 URL: https://issues.apache.org/jira/browse/GIRAPH-34
 Project: Giraph
  Issue Type: Bug
Reporter: Christian Kunz
Assignee: Avery Ching
 Attachments: GIRAPH-34.patch


 Christian actually found this bug.  I am filing the JIRA on his behalf.  
 Here's my error when running TestVertexRangeBalancer.  
 java.lang.RuntimeException: java.io.IOException: Call to 
 returnwhose-lm/10.72.107.231:30002 failed on local exception: 
 java.io.EOFException
   at 
 org.apache.giraph.comm.BasicRPCCommunications.sendVertexListReq(BasicRPCCommunications.java:768)
   at 
 org.apache.giraph.graph.BspServiceWorker.exchangeVertexRanges(BspServiceWorker.java:1282)
   at org.apache.giraph.graph.GraphMapper.map(GraphMapper.java:589)
   at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
   at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:763)
   at org.apache.hadoop.mapred.MapTask.run(MapTask.java:369)
   at org.apache.hadoop.mapred.Child$4.run(Child.java:259)
   at java.security.AccessController.doPrivileged(Native Method)
   at javax.security.auth.Subject.doAs(Subject.java:396)
   at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)
   at org.apache.hadoop.mapred.Child.main(Child.java:253)
 Caused by: java.io.IOException: Call to returnwhose-lm/10.72.107.231:30002 
 failed on local exception: java.io.EOFException
   at org.apache.hadoop.ipc.Client.wrapException(Client.java:1065)
   at org.apache.hadoop.ipc.Client.call(Client.java:1033)
   at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:224)
   at $Proxy3.putVertexList(Unknown Source)
   at 
 org.apache.giraph.comm.BasicRPCCommunications.sendVertexListReq(BasicRPCCommunications.java:766)
   ... 10 more
 Caused by: java.io.EOFException
   at java.io.DataInputStream.readInt(DataInputStream.java:375)
   at 
 org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:767)
   at org.apache.hadoop.ipc.Client$Connection.run(Client.java:712)
 I identified and fixed the issue by making BasicVertex implement Configurable 
 and making the graph state set in BasicRPCCommunications.  There is one more 
 error though that I'll try and solve before putting up a reviewboard.

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




[jira] [Commented] (GIRAPH-34) Failure of Vertex reflection for putVertexList from GIRAPH-27

2011-09-16 Thread Dmitriy V. Ryaboy (JIRA)

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

Dmitriy V. Ryaboy commented on GIRAPH-34:
-

Never mind, Writable is an envelope for the actual message, and it doesn't 
matter what we do to writable -- the concern here is calling methods on the 
contained message, and of course we can't control that.

+1

 Failure of Vertex reflection for putVertexList from GIRAPH-27 
 --

 Key: GIRAPH-34
 URL: https://issues.apache.org/jira/browse/GIRAPH-34
 Project: Giraph
  Issue Type: Bug
Reporter: Christian Kunz
Assignee: Avery Ching
 Attachments: GIRAPH-34.patch


 Christian actually found this bug.  I am filing the JIRA on his behalf.  
 Here's my error when running TestVertexRangeBalancer.  
 java.lang.RuntimeException: java.io.IOException: Call to 
 returnwhose-lm/10.72.107.231:30002 failed on local exception: 
 java.io.EOFException
   at 
 org.apache.giraph.comm.BasicRPCCommunications.sendVertexListReq(BasicRPCCommunications.java:768)
   at 
 org.apache.giraph.graph.BspServiceWorker.exchangeVertexRanges(BspServiceWorker.java:1282)
   at org.apache.giraph.graph.GraphMapper.map(GraphMapper.java:589)
   at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
   at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:763)
   at org.apache.hadoop.mapred.MapTask.run(MapTask.java:369)
   at org.apache.hadoop.mapred.Child$4.run(Child.java:259)
   at java.security.AccessController.doPrivileged(Native Method)
   at javax.security.auth.Subject.doAs(Subject.java:396)
   at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)
   at org.apache.hadoop.mapred.Child.main(Child.java:253)
 Caused by: java.io.IOException: Call to returnwhose-lm/10.72.107.231:30002 
 failed on local exception: java.io.EOFException
   at org.apache.hadoop.ipc.Client.wrapException(Client.java:1065)
   at org.apache.hadoop.ipc.Client.call(Client.java:1033)
   at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:224)
   at $Proxy3.putVertexList(Unknown Source)
   at 
 org.apache.giraph.comm.BasicRPCCommunications.sendVertexListReq(BasicRPCCommunications.java:766)
   ... 10 more
 Caused by: java.io.EOFException
   at java.io.DataInputStream.readInt(DataInputStream.java:375)
   at 
 org.apache.hadoop.ipc.Client$Connection.receiveResponse(Client.java:767)
   at org.apache.hadoop.ipc.Client$Connection.run(Client.java:712)
 I identified and fixed the issue by making BasicVertex implement Configurable 
 and making the graph state set in BasicRPCCommunications.  There is one more 
 error though that I'll try and solve before putting up a reviewboard.

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