Re: RandomVertexId

2013-12-16 Thread Pushparaj Motamari
Thank You for your suggestions On Tue, Dec 17, 2013 at 3:19 AM, Jan van der Lugt wrote: > Hi Pushparaj, > > I would not recommend doing either of these latter two approaches, since > the first one will only work for small graphs (in which case: why use a > distributed platform like Giraph?) and

Re: RandomVertexId

2013-12-16 Thread Jan van der Lugt
Hi Pushparaj, I would not recommend doing either of these latter two approaches, since the first one will only work for small graphs (in which case: why use a distributed platform like Giraph?) and the second one does not give you true random vertices. To do this efficiently, you would have to imp

Re: RandomVertexId

2013-12-16 Thread Ameya Vilankar
Hi There are several ways of doing this. If you know you vertex Ids lie between a certain range of values like from 0 - (some value). Then you can simple generate a random value in that range and call sendMessage to send message to the randomly selected vertex. However, if your vertices do not lie

RandomVertexId

2013-12-16 Thread Pushparaj Motamari
Hi, In a compute method I would like to send message to a random vertex, how could I able to get random vertexid? Thanks Pushparaj

OUT OF CORE options creating problems

2013-12-16 Thread Sundara Raghavan Sankaran
Hi, Is something wrong with the Out Of Core options in giraph? I wrote a program which would do nothing. I just wanted to save the graph info [number of edges] to a file. When using useOutOfCoreGraph option, the tasks get time out while saving the vertices, but when not using the option, it is sa

Re: Giraph running custom giraph job

2013-12-16 Thread Martin Neumann
Thanks for the answer, but now I run the problem that I get the following exception: Exception in thread "main" java.lang.IllegalStateException: Giraph's estimated cluster heap 2048MB ask is greater than the current available cluster heap of 0MB. I guess its a configuration issue? Google didn't fi