Giraph only works with LongWritables (workers 1)

2014-04-08 Thread chadi jaber
Hello!! i have realized a project with Giraph and i wanted to do a feedback about some problems i encountred.In one of my giraph Jobs, i wanted to construct a graph before making the processing on it. this graph is composed of vertices with an id composed of two integers import

Re: zookeeper problem in giraph..

2014-04-08 Thread Suijian Zhou
Hi, Lukas, Do you know how to modify the timeout settings for zookeeper in giraph? I see the session is established on server with negotiated timeout = 60, which is 600s, I think this is enough for the job as the job get aborted in only few minutes. Really confused here, why the server

How to set more zooKeeper nodes in giraph.

2014-04-08 Thread Suijian Zhou
Hi, Does anybody know how to set more zooKeeper nodes in giraph? I tried to modify ZOOKEEPER_SERVER_COUNT in file: giraph-core/target/munged/main/org/apache/giraph/conf/GiraphConstants.java but recompilation of giraph shows no effect at all( giraph seems always use 1 zookeeper node?) and when

Re: How to set more zooKeeper nodes in giraph.

2014-04-08 Thread Claudio Martella
you don't need to recompile it, you can set it runtime by setting giraph.zkServerCount accordingly. but are you trying to get giraph to start multiple instances of zookeeper in multiple nodes, or do you want giraph to use multiple of your existing zookeepers? On Tue, Apr 8, 2014 at 11:17 PM,

knapsack problem in giraph

2014-04-08 Thread Liannet Reyes
Hi, Do you happen to know any implementation of the knapsack problem with weights in giraph? I have done one by myself, but I just wanted to be sure that I´m not reinventing the wheel ;) Thanks in advance, Liannet

Re: How to set more zooKeeper nodes in giraph.

2014-04-08 Thread Suijian Zhou
Hi, Claudio, Thanks a lot, I'm using the zookeeper coming from giraph, I did not install zookeeper seperately. By the way, how to set the runtime parameter of giraph.zkServerCount? If possible, I'd like to modify the negotiated timeout = 60 too, but how? Thanks. Best Regards, Suijian