Hi, Hector does not retry on a down server. In the unit tests where you have just one server, Hector will pass the exception to the client.

Can you tell us please what your test looks like ?

2011/10/12 Wangpei (Peter) <peter.wangpei@huawei.com>

I only saw this error message when all Cassandra nodes are down.

How you get the Cluster and how you set the hosts?

 

发件人: CASSANDRA learner [mailto:cassandralearner@gmail.com]
发送时间: 20111012 14:30
收件人: user@cassandra.apache.org
主题: Re: Hector Problem Basic one

 

Thanks for the reply ben.

Actually The problem is, I could not able to run a basic hector example from eclipse. Its throwing "me.prettyprint.hector.api.

exceptions.HectorException: All host pools marked
> down. Retry burden pushed out to client

"
Can you please let me know why i am getting this,,,,

On Tue, Oct 11, 2011 at 3:54 PM, Ben Ashton <ben@bossastudios.com> wrote:

Hey,

We had this one, even tho in the hector documentation it says that it
retry s failed servers even 30 by default, it doesn't.

Once we explicitly set it to X seconds, when ever there is a failure,
ie with network (AWS), it will retry and add it back into the pool.

Ben


On 11 October 2011 11:09, CASSANDRA learner <cassandralearner@gmail.com> wrote:
> Hi Every One,
>
> Actually I was using cassandra long time back and when i tried today, I am
> getting a problem from eclipse. When i am trying to run a basic hector
> (java) example, I am getting an exception
> me.prettyprint.hector.api.exceptions.HectorException: All host pools marked
> down. Retry burden pushed out to client. . But My server is up. Node tool
> also whows that it is up. I donno what happens..
>
> 1.)Is it any thing to do with JMX port.
> 2.) What is the storage port in casandra.yaml and jmx port in
> cassandra-env.sh
>
>
>