From user-return-6256-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Jun 01 05:45:57 2010 Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 768 invoked from network); 1 Jun 2010 05:45:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 05:45:57 -0000 Received: (qmail 37832 invoked by uid 500); 1 Jun 2010 05:45:56 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 37705 invoked by uid 500); 1 Jun 2010 05:45:55 -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 37697 invoked by uid 99); 1 Jun 2010 05:45:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 05:45:55 +0000 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=AWL,HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 05:45:49 +0000 Received: by fxm6 with SMTP id 6so3327674fxm.31 for ; Mon, 31 May 2010 22:45:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.102.237.3 with SMTP id k3mr2393261muh.125.1275371127421; Mon, 31 May 2010 22:45:27 -0700 (PDT) Received: by 10.102.228.18 with HTTP; Mon, 31 May 2010 22:45:27 -0700 (PDT) X-Originating-IP: [80.179.102.198] In-Reply-To: References: Date: Tue, 1 Jun 2010 08:45:27 +0300 Message-ID: Subject: Re: Can't get data after building cluster From: David Boxenhorn To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016363ba77801bb410487f17be6 --0016363ba77801bb410487f17be6 Content-Type: text/plain; charset=ISO-8859-1 You say "no", but that is exactly what I just observed. Can I have some more explanation? To recap: I added a server to my cluster. It had some junk in the system/LocationInfo files from previous, unsuccessful attempts to add the server to the cluster. (They were unsuccessful because I hadn't opened the port on that computer.) When I finally succeeded in adding the 2nd server, the 1st server started returning null when I tried to get data using the CLI. I stopped the 2nd server, deleted the files in system, restarted, and everything worked. I'm afraid that this, or some similar scenario will do the same, after I go live. How can I protect myself? On Mon, May 31, 2010 at 10:10 PM, Jonathan Ellis wrote: > No. > > On Mon, May 31, 2010 at 10:47 AM, David Boxenhorn > wrote: > > So.... this means that I can take my entire cluster off line if I make a > > mistake adding a new server??? Yikes! > > > > On Mon, May 31, 2010 at 6:41 PM, David Boxenhorn > wrote: > >> > >> OK. Got it working. > >> > >> I had some data in the 2nd server from previous failed attempts at > hooking > >> up to the cluster. When I deleted that data and tried again, it said > >> "bootstrapping" and my 1st server started working again. > >> > >> On Mon, May 31, 2010 at 4:50 PM, David Boxenhorn > >> wrote: > >>> > >>> I am trying to get a cluster up and working for the first time. > >>> > >>> I got one server up and running, with lots of data on it, which I can > see > >>> with the CLI. > >>> > >>> I added my 2nd server, they seem to recognize each other. > >>> > >>> Now I can't see my data with the CLI. I do a get and it returns null. > The > >>> data files seem to be intact. > >>> > >>> What happened??? How can I fix it? > >>> > >> > > > > > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com > --0016363ba77801bb410487f17be6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
You say "no", but that is exactly what I just ob= served. Can I have some more explanation?

To recap: I added a serve= r to my cluster. It had some junk in the system/LocationInfo files from pre= vious, unsuccessful attempts to add the server to the cluster. (They were u= nsuccessful because I hadn't opened the port on that computer.) When I = finally succeeded in adding the 2nd server, the 1st server started returnin= g null when I tried to get data using the CLI. I stopped the 2nd server, de= leted the files in system, restarted, and everything worked.

I'm afraid that this, or some similar scenario will do the same, af= ter I go live. How can I protect myself?

On Mon, May 31, 2010 at 10:10 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
No.

On Mon, May 31, 2010 at 10:47 AM, David Boxenhorn <david@lookin2.com> wrote:
> So.... this means that I can take my entire cluster off line if I make= a
> mistake adding a new server??? Yikes!
>
> On Mon, May 31, 2010 at 6:41 PM, David Boxenhorn <david@lookin2.com> wrote:
>>
>> OK. Got it working.
>>
>> I had some data in the 2nd server from previous failed attempts at= hooking
>> up to the cluster. When I deleted that data and tried again, it sa= id
>> "bootstrapping" and my 1st server started working again.=
>>
>> On Mon, May 31, 2010 at 4:50 PM, David Boxenhorn <david@lookin2.com>
>> wrote:
>>>
>>> I am trying to get a cluster up and working for the first time= .
>>>
>>> I got one server up and running, with lots of data on it, whic= h I can see
>>> with the CLI.
>>>
>>> I added my 2nd server, they seem to recognize each other.
>>>
>>> Now I can't see my data with the CLI. I do a get and it re= turns null. The
>>> data files seem to be intact.
>>>
>>> What happened??? How can I fix it?
>>>
>>
>
>



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

--0016363ba77801bb410487f17be6--