You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Andrew Cobley <a....@dundee.ac.uk> on 2014/09/29 15:45:05 UTC
DSE install interfering with apache Cassandra 2.1.0
Hi All,
Just come across this one, I’m 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 <AsyncoreConnection(4528514448) 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=mRFoCMXuK0nBzoqqR9w@mail.gmail.com%3E
but I can’t see why the uninstall of DSE is leaving the apache cassandra release cqlsh unable to attach to the apache cassandra runtime.
Ta
Andy
The University of Dundee is a registered Scottish Charity, No: SC015096
Re: DSE install interfering with apache Cassandra 2.1.0
Posted by Ben Bromhead <be...@instaclustr.com>.
Only recently! Moving off list (c* users bcc'd).
On 30 September 2014 19:20, Andrew Cobley <a....@dundee.ac.uk> wrote:
> HI Ben,
>
> yeah, that was it, recovered from the Cassandra summit ?
>
>
> Andy
>
> On 30 Sep 2014, at 08:19, Ben Bromhead <be...@instaclustr.com> wrote:
>
> 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 <a....@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’t 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…
>>
>> Port Scanning host: 127.0.0.1
>>
>> Open TCP Port: 631 ipp
>> Port Scan has completed…
>>
>>
>> Hope this helps.
>>
>> Andy
>>
>>
>> On 29 Sep 2014, at 15:09, Sumod Pawgi <sp...@gmail.com> 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 <a....@dundee.ac.uk>
>> wrote:
>>
>> Hi All,
>>
>> Just come across this one, I’m 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 <AsyncoreConnection(4528514448)
>> 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=mRFoCMXuK0nBzoqqR9w@mail.gmail.com%3E
>>
>> but I can’t see why the uninstall of DSE is leaving the apache
>> cassandra 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
>>
>
>
>
> --
>
> Ben Bromhead
>
> Instaclustr | www.instaclustr.com | @instaclustr
> <http://twitter.com/instaclustr> | +61 415 936 359
>
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
>
--
Ben Bromhead
Instaclustr | www.instaclustr.com | @instaclustr
<http://twitter.com/instaclustr> | +61 415 936 359
Re: DSE install interfering with apache Cassandra 2.1.0
Posted by Andrew Cobley <a....@dundee.ac.uk>.
HI Ben,
yeah, that was it, recovered from the Cassandra summit ?
Andy
On 30 Sep 2014, at 08:19, Ben Bromhead <be...@instaclustr.com>> wrote:
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 <a....@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’t 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…
Port Scanning host: 127.0.0.1
Open TCP Port: 631 ipp
Port Scan has completed…
Hope this helps.
Andy
On 29 Sep 2014, at 15:09, Sumod Pawgi <sp...@gmail.com>> 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 <a....@dundee.ac.uk>> wrote:
Hi All,
Just come across this one, I’m 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 <AsyncoreConnection(4528514448) 127.0.0.1:9160<http://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=mRFoCMXuK0nBzoqqR9w@mail.gmail.com%3E
but I can’t see why the uninstall of DSE is leaving the apache cassandra 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
--
Ben Bromhead
Instaclustr | www.instaclustr.com<https://www.instaclustr.com/> | @instaclustr<http://twitter.com/instaclustr> | +61 415 936 359
The University of Dundee is a registered Scottish Charity, No: SC015096
Re: DSE install interfering with apache Cassandra 2.1.0
Posted by Ben Bromhead <be...@instaclustr.com>.
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 <a....@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’t 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…
>
> Port Scanning host: 127.0.0.1
>
> Open TCP Port: 631 ipp
> Port Scan has completed…
>
>
> Hope this helps.
>
> Andy
>
>
> On 29 Sep 2014, at 15:09, Sumod Pawgi <sp...@gmail.com> 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 <a....@dundee.ac.uk> wrote:
>
> Hi All,
>
> Just come across this one, I’m 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 <AsyncoreConnection(4528514448)
> 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=mRFoCMXuK0nBzoqqR9w@mail.gmail.com%3E
>
> but I can’t see why the uninstall of DSE is leaving the apache cassandra
> 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
>
--
Ben Bromhead
Instaclustr | www.instaclustr.com | @instaclustr
<http://twitter.com/instaclustr> | +61 415 936 359
Re: DSE install interfering with apache Cassandra 2.1.0
Posted by Andrew Cobley <a....@dundee.ac.uk>.
Without the apache cassandra running I ran jps -l on this machine ,the only result was
338 sun.tool.jps.Jps
The Mac didn’t 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…
Port Scanning host: 127.0.0.1
Open TCP Port: 631 ipp
Port Scan has completed…
Hope this helps.
Andy
On 29 Sep 2014, at 15:09, Sumod Pawgi <sp...@gmail.com>> 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 <a....@dundee.ac.uk>> wrote:
Hi All,
Just come across this one, I’m 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 <AsyncoreConnection(4528514448) 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=mRFoCMXuK0nBzoqqR9w@mail.gmail.com%3E
but I can’t see why the uninstall of DSE is leaving the apache cassandra 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
Re: DSE install interfering with apache Cassandra 2.1.0
Posted by Sumod Pawgi <sp...@gmail.com>.
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 <a....@dundee.ac.uk> wrote:
>
> Hi All,
>
> Just come across this one, I’m 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 <AsyncoreConnection(4528514448) 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=mRFoCMXuK0nBzoqqR9w@mail.gmail.com%3E
>
> but I can’t see why the uninstall of DSE is leaving the apache cassandra release cqlsh unable to attach to the apache cassandra runtime.
>
> Ta
> Andy
>
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096