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 A0914177B0 for ; Tue, 30 Sep 2014 07:20:28 +0000 (UTC) Received: (qmail 42554 invoked by uid 500); 30 Sep 2014 07:20:26 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 42507 invoked by uid 500); 30 Sep 2014 07:20:26 -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 42497 invoked by uid 99); 30 Sep 2014 07:20:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2014 07:20:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ben@instaclustr.com designates 209.85.220.181 as permitted sender) Received: from [209.85.220.181] (HELO mail-vc0-f181.google.com) (209.85.220.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2014 07:19:59 +0000 Received: by mail-vc0-f181.google.com with SMTP id le20so805449vcb.12 for ; Tue, 30 Sep 2014 00:19:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=/lj607kPhtMNnYoKX6ewBhvO0UFPemX3+4GiBuvi5pc=; b=IDclkVQYUyAIMXMeywZnFSSGmzyaCaoVAAjJ2zChgmt7lS3ZGy25QEMU/zqRlnC/l8 +9ejZunp12eFTsEVgALRgGP/uzEwokE0L+7Yyh3oLhxvsn1jUBWl8FO6ffTl93TYws9V g3QfyBZ+Hpf2qX0vSn6Fr9XYbvXrqYTS3KXsjQ/V83fQXERMlRrH9ZXIUzxaeDz6SPYl Xy0/fMnOuUnRlLpUOdTrLPCdPqKzKpxapg6b23B5bN8BvUGPZjJLN1AxfsnxabgUcOnK 0/sDy3PyEt5P2Z/e0k+4pqbvvcTuHf8sqb14UQwSjDydjNNFfewnkaN5AWx6gWomp21c YxKA== X-Gm-Message-State: ALoCoQltL7RaMbsBQCy4B+yNd9hKR+yFPS7Ub9bmomBkMerB1RF4ZfdsExAl/MRyMrPehd/xuryB MIME-Version: 1.0 X-Received: by 10.221.66.194 with SMTP id xr2mr24342143vcb.27.1412061598678; Tue, 30 Sep 2014 00:19:58 -0700 (PDT) Received: by 10.220.83.67 with HTTP; Tue, 30 Sep 2014 00:19:58 -0700 (PDT) X-Originating-IP: [124.171.140.244] In-Reply-To: References: <8B6A54A6-7C51-4D69-8629-807EFBE9729E@dundee.ac.uk> <8FC6EB70-6597-48FC-B926-05BE1B257A32@gmail.com> Date: Tue, 30 Sep 2014 17:19:58 +1000 Message-ID: Subject: Re: DSE install interfering with apache Cassandra 2.1.0 From: Ben Bromhead To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11363bfcfd96b40504433555 X-Virus-Checked: Checked by ClamAV on apache.org --001a11363bfcfd96b40504433555 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable check your cqlshrc file (sometimes in ~/.cassandra) ? I've been caught out before when playing with a RC of 2.1 On 30 September 2014 01:25, Andrew Cobley wrote: > Without the apache cassandra running I ran jps -l on this machine ,the > only result was > > 338 sun.tool.jps.Jps > > The Mac didn=E2=80=99t like the netstat command so I ran > > netstat -atp tcp | grep 9160 > > no result > > Also for the native port: > > netstat-atp tcp | grep 9042 > > gave no result (command may be wrong) > > So I ran port scan using the network utility (between 0 and 10000). > Results as shown: > > > Port Scan has started=E2=80=A6 > > Port Scanning host: 127.0.0.1 > > Open TCP Port: 631 ipp > Port Scan has completed=E2=80=A6 > > > Hope this helps. > > Andy > > > On 29 Sep 2014, at 15:09, Sumod Pawgi wrote: > > Please run jps to check which Java services are still running and to > make sure if c* is running. Then please check if 9160 port is in use. > netstat -nltp | grep 9160 > > This will confirm what is happening in your case. > > Sent from my iPhone > > On 29-Sep-2014, at 7:15 pm, Andrew Cobley wrote= : > > Hi All, > > Just come across this one, I=E2=80=99m at a bit of a loss on how to fix = it. > > A user here did the following steps > > On a MAC > Install Datastax Enterprise (DSE) using the dmg file > test he can connect using the DSE cqlsh window > Unistall DSE (full uninstall which stops the services) > > download apache cassandra 2.1.0 > unzip > change to the non directory run sudo ./cassandra > > Now when he tries to connect using cqlsh from apache cassandra 2.1.0 bin > he gets > > Connection error: ('Unable to connect to any servers', {'127.0.0.1': > ConnectionShutdown('Connection 127.0.0.1:9160 (closed)> is already closed',)}) > > This is probably related to > > http://mail-archives.apache.org/mod_mbox/incubator-cassandra-user/201409.= mbox/%3CCALHCZd7RGSahJUbK32WoTr9JRoA+4K=3DmRFoCMXuK0nBzoqqR9w@mail.gmail.co= m%3E > > but I can=E2=80=99t see why the uninstall of DSE is leaving the apache c= assandra > release cqlsh unable to attach to the apache cassandra runtime. > > Ta > Andy > > > > The University of Dundee is a registered Scottish Charity, No: SC015096 > > > > The University of Dundee is a registered Scottish Charity, No: SC015096 > --=20 Ben Bromhead Instaclustr | www.instaclustr.com | @instaclustr | +61 415 936 359 --001a11363bfcfd96b40504433555 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
check your cqlshrc file (sometimes in ~/.cassandra) ?
=
I've been caught out before when playing with a RC of 2.= 1=C2=A0

On 30 September 2014 01:25, Andrew Cobley <a.e.cobley@dundee.ac.= uk> wrote:
Without the apache cassandra running I ran jps -l on this machine ,the only= result was

338 sun.tool.jps.Jps

The Mac didn=E2=80=99t like the netstat command so I ran

netstat -atp tcp | =C2=A0grep 9160

no result

Also =C2=A0for the native port:

netstat-atp tcp | grep 9042

gave no result (command may be wrong)

So I ran port scan using the network utility (between 0 and 10000).=C2= =A0 Results as shown:


Port Scan has started=E2=80=A6

Port Scanning host: 127.0.0.1

=C2=A0=C2=A0 =C2=A0 Open TCP Port: =C2=A0=C2=A0 =C2=A0631=C2=A0=C2=A0 =C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0ipp
Port Scan has completed=E2=80=A6


Hope this helps.

Andy


On 29 Sep 2014, at 15:09, Sumod Pawgi <spawgi@gmail.com> wrote:

Please run jps to check which Java services are still running and to m= ake sure if c* is running. Then please check if 9160 port is in use. netsta= t -nltp | grep 9160

This will confirm what is happening in your case.

Sent from my iPhone

On 29-Sep-2014, at 7:15 pm, Andrew Cobley <a.e.cobley@dundee.ac.uk> wrote:

Hi All,

Just come across this one, I=E2=80=99m at a bit of a loss on how to fi= x it.

A user here did the following steps

On a MAC
Install Datastax Enterprise (DSE) using the dmg file
test he can connect using the DSE cqlsh window
Unistall DSE (full uninstall which stops the services)

download apache cassandra 2.1.0
unzip
change to the non directory run sudo ./cassandra

Now when he tries to connect using cqlsh from apache cassandra 2.1.0 b= in =C2=A0 he gets

Connection error: (&#= 39;Unable to connect to any servers', {'127.0.0.1': ConnectionS= hutdown('Connection <AsyncoreConnection(4528514448) 127.0.0.1:9160 (closed)> is alre= ady closed',)})

This is probably= =C2=A0related to=C2=A0

but I can=E2=80=99t see why the uninstall of DSE is leaving the apache= cassandra release cqlsh unable to attach to the apache cassandra runtime.<= /div>

Ta
Andy



The University of Dundee is a registered Sco= ttish Charity, No: SC015096


The University of Dundee is a registered Sco= ttish Charity, No: SC015096



--

Ben Bromhead

Instaclustr |=C2=A0www.instaclustr.com=C2=A0|=C2=A0@instaclustr=C2= =A0| +61 415 936 359

--001a11363bfcfd96b40504433555--