Re: DSE install interfering with apache Cassandra 2.1.0

2014-09-30 Thread Ben Bromhead
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.e.cob...@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 1).
 Results as shown:


  Port Scan has started…

 Port Scanning host: 127.0.0.1

  Open TCP Port: 631ipp
 Port Scan has completed…


  Hope this helps.

  Andy


  On 29 Sep 2014, at 15:09, Sumod Pawgi spa...@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.e.cob...@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=mrfocmxuk0nbzoqq...@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

2014-09-30 Thread Andrew Cobley
HI Ben,

yeah, that was it, recovered from the Cassandra summit ?


Andy

On 30 Sep 2014, at 08:19, Ben Bromhead 
b...@instaclustr.commailto:b...@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.e.cob...@dundee.ac.ukmailto:a.e.cob...@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 1).  Results as 
shown:


Port Scan has started…

Port Scanning host: 127.0.0.1

 Open TCP Port: 631ipp
Port Scan has completed…


Hope this helps.

Andy


On 29 Sep 2014, at 15:09, Sumod Pawgi 
spa...@gmail.commailto:spa...@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.e.cob...@dundee.ac.ukmailto:a.e.cob...@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:9160http://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=mrfocmxuk0nbzoqq...@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.comhttps://www.instaclustr.com/ | 
@instaclustrhttp://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

2014-09-30 Thread Ben Bromhead
Only recently! Moving off list (c* users bcc'd).

On 30 September 2014 19:20, Andrew Cobley a.e.cob...@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 b...@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.e.cob...@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 1).
 Results as shown:


  Port Scan has started…

 Port Scanning host: 127.0.0.1

  Open TCP Port: 631ipp
 Port Scan has completed…


  Hope this helps.

  Andy


  On 29 Sep 2014, at 15:09, Sumod Pawgi spa...@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.e.cob...@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=mrfocmxuk0nbzoqq...@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


DSE install interfering with apache Cassandra 2.1.0

2014-09-29 Thread Andrew Cobley
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=mrfocmxuk0nbzoqq...@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

2014-09-29 Thread Sumod Pawgi
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.e.cob...@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=mrfocmxuk0nbzoqq...@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

2014-09-29 Thread Andrew Cobley
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 1).  Results as 
shown:


Port Scan has started…

Port Scanning host: 127.0.0.1

 Open TCP Port: 631ipp
Port Scan has completed…


Hope this helps.

Andy


On 29 Sep 2014, at 15:09, Sumod Pawgi 
spa...@gmail.commailto:spa...@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.e.cob...@dundee.ac.ukmailto:a.e.cob...@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=mrfocmxuk0nbzoqq...@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