Re: A Vertex Holds Other Than Text

2014-01-08 Thread Agrta Rawat
Hi Maja Kabiljo , Yes It worked.Thanx a lot. Regards, Agrta On Thu, Jan 9, 2014 at 1:50 AM, Maja Kabiljo wrote: > Hi Agrta, > > Take a look at IntIntTextVertexValueInputFormat for example, where > vertex values are ints. If your vertex values are complex objects, you need > to create a clas

ClassCastException: org.apache.giraph.conf.GiraphConfiguration cannot be cast to org.apache.hadoop.mapred.JobConf

2014-01-08 Thread John Yost
Argh! Sorry, accidentally sent email. I am encountering a ClassCastException in my custom Tool class: 14/01/08 15:58:15 ERROR step.AbstractStep: Encountered an error executing the step java.lang.ClassCastException: org.apache.giraph.conf.GiraphConfiguration cannot be cast to org.apache.hadoop.ma

Strange ClassCastException

2014-01-08 Thread John Yost
Hi, I am encountering a ClassCastException in my custom Tool class: 14/01/08 15:58:15 ERROR step.AbstractStep: Encountered an error executing the step java.lang.ClassCastException: org.apache.giraph.conf.GiraphConfiguration cannot be cast to org.apache.hadoop.mapred.JobConf at org.apache.hadoop.m

Could not find or load main class org.apache.giraph.yarn.GiraphApplicationMaster

2014-01-08 Thread Kristen Hardwick
Hi all, When running the SimplePageRankComputation Giraph example, I get the following error in the YARN logs (and nothing else): Could not find or load main class org.apache.giraph.yarn.GiraphApplicationMaster On the command line, I see: 14/01/08 14:40:03 INFO utils.ConfigurationUtils: No edge

Re: Extending AbstractComputation

2014-01-08 Thread Maja Kabiljo
Hi Pushparaj and Peter, There is going to be one Computation per partition in each of the supersteps. Each partition is processed by a single thread, so accessing any data inside of your Computation is thread-safe. Multiple threads are going to be executing computation on multiple partitions, a

Re: A Vertex Holds Other Than Text

2014-01-08 Thread Maja Kabiljo
Hi Agrta, Take a look at IntIntTextVertexValueInputFormat for example, where vertex values are ints. If your vertex values are complex objects, you need to create a class which implements Writable interface which is going to hold all your data, and then extend the input format to read all the d

Re: Tracking Bytes Sent

2014-01-08 Thread Maja Kabiljo
Hi Young, You can set giraph.metrics.enable to true, and then in worker logs (stderr part) you'll see more information about each superstep. What you are interested in will be shown in requests-sent and sent-bytes, there is an equivalent for received as well. Regards, Maja From: Young Han ma