Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87413905E for ; Thu, 13 Oct 2011 16:11:55 +0000 (UTC) Received: (qmail 2141 invoked by uid 500); 13 Oct 2011 16:11:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 2080 invoked by uid 500); 13 Oct 2011 16:11:53 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 2068 invoked by uid 99); 13 Oct 2011 16:11:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 16:11:53 +0000 X-ASF-Spam-Status: No, hits=4.0 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of patricioe@gmail.com designates 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ey0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 16:11:49 +0000 Received: by eyg24 with SMTP id 24so188681eyg.31 for ; Thu, 13 Oct 2011 09:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=fffli3kFaqKORKL48B0Fw3jjAwqp9W8ygM6W+hB4tuI=; b=ZvpYNTWEmqWsQpgz+YDG9gCMaKCE6ats3hrqxZmXa9jc3/62x9OVTl13G+bGUZtQwq PUwPj5u1MIV4ZvVbX6Y9hIUDhYFpE6FyTcVukzMmSNcuIKtGS379WeK2foRxrGFB2Mq2 qRvSi2PU6gG0w9bcgflbNfLTaOL0iwmGo/s9Q= Received: by 10.213.20.5 with SMTP id d5mr801398ebb.116.1318522287138; Thu, 13 Oct 2011 09:11:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.14.19 with HTTP; Thu, 13 Oct 2011 09:11:07 -0700 (PDT) In-Reply-To: <6F8DF32E96493B44B00A17248867481EA72AAD@szxeml522-mbs.china.huawei.com> References: <6F8DF32E96493B44B00A17248867481EA72AAD@szxeml522-mbs.china.huawei.com> From: =?ISO-8859-1?Q?Patricio_Echag=FCe?= Date: Thu, 13 Oct 2011 09:11:07 -0700 Message-ID: Subject: Re: Hector Problem Basic one To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0015174bef428da7a804af306428 --0015174bef428da7a804af306428 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi, Hector does not retry on a down server. In the unit tests where you hav= e 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) > I only saw this error message when all Cassandra nodes are down.**** > > How you get the Cluster and how you set the hosts?**** > > ** ** > > *=B7=A2=BC=FE=C8=CB:* CASSANDRA learner [mailto:cassandralearner@gmail.co= m] > *=B7=A2=CB=CD=CA=B1=BC=E4:* 2011=C4=EA10=D4=C212=C8=D5 14:30 > *=CA=D5=BC=FE=C8=CB:* user@cassandra.apache.org > *=D6=F7=CC=E2:* 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 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 > 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 to= ol > > 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 > > > > > >**** > > ** ** > --0015174bef428da7a804af306428 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi, Hector does not retry on a down server. In the unit tests where you hav= e 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.<= u>

How you get the Cluster and how you set the hosts?<= /span>

 

=B7=A2=BC=FE=C8= =CB: CASSANDRA learner [mailto:cassandralearner@gmail.com]
=B7=A2=CB=CD=CA=B1=BC=E4: 2011=C4=EA10=D4=C212=C8=D5 14:30
=CA=D5=BC=FE=C8=CB: user= @cassandra.apache.org
=D6=F7=CC=E2: Re: Hector Problem Basic one

 

Thanks for the reply ben.

Actually The problem is, I could not able to run a basic hector example fro= m eclipse. Its throwing "me.prettyprint.hect= or.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> wro= te:
> 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 m= arked
> down. Retry burden pushed out to client. . But My server is up. Node t= ool
> 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
>
>
>

 


--0015174bef428da7a804af306428--