Re: nodetool connection refused

2012-09-14 Thread Manu Zhang
should we update the wiki?

On Fri, Sep 14, 2012 at 1:18 PM, aaron morton aa...@thelastpickle.comwrote:

 Yes.
 If your IDE is starting cassandra the settings from cassandra-env.sh will
 not be used.

 Cheers

 -
 Aaron Morton
 Freelance Developer
 @aaronmorton
 http://www.thelastpickle.com

 On 13/09/2012, at 12:41 PM, Manu Zhang owenzhang1...@gmail.com wrote:

 I'm afraid we have to include all $JVM_OPTS in the cassandra-env.sh ?

 On Thu, Sep 13, 2012 at 5:49 AM, aaron morton aa...@thelastpickle.comwrote:

 Thanks for updating the Wiki :)

 Cheers

   -
 Aaron Morton
 Freelance Developer
 @aaronmorton
 http://www.thelastpickle.com

 On 12/09/2012, at 1:14 PM, Manu Zhang owenzhang1...@gmail.com wrote:

 problems solved. I didn't add the jmx_host and jmx_port to vm_arguments
 in Eclipse. How come it is not covered in wiki
 http://wiki.apache.org/cassandra/RunningCassandraInEclipse ? Or is it
 outdated?

 On Mon, Sep 10, 2012 at 10:11 AM, Manu Zhang owenzhang1...@gmail.comwrote:

 It's more like an Eclipse issue now since I find a 0.0.0.0:7199
 listener when executing bin/cassandra in terminal but none when running
 Cassandra in Eclipse.


 On Sun, Sep 9, 2012 at 12:56 PM, Manu Zhang owenzhang1...@gmail.comwrote:

 No, I don't find a listener whose port is 7199. Where to setup? I've
 been experimenting on my laptop so both of them are local.


 On Sun, Sep 9, 2012 at 1:28 AM, Senthilvel Rangaswamy 
 senthil...@gmail.com wrote:

 What is the address for thrift listener. Did you put 0.0.0.0:7199 ?

 On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang 
 owenzhang1...@gmail.comwrote:

 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with
 the following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.




 --
 ..Senthil

 If there's anything more important than my ego around, I want it
  caught and shot now.
 - Douglas Adams.










Re: nodetool connection refused

2012-09-13 Thread aaron morton
Yes. 
If your IDE is starting cassandra the settings from cassandra-env.sh will not 
be used.

Cheers

-
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 13/09/2012, at 12:41 PM, Manu Zhang owenzhang1...@gmail.com wrote:

 I'm afraid we have to include all $JVM_OPTS in the cassandra-env.sh ?
 
 On Thu, Sep 13, 2012 at 5:49 AM, aaron morton aa...@thelastpickle.com wrote:
 Thanks for updating the Wiki :)
 
 Cheers
 
 -
 Aaron Morton
 Freelance Developer
 @aaronmorton
 http://www.thelastpickle.com
 
 On 12/09/2012, at 1:14 PM, Manu Zhang owenzhang1...@gmail.com wrote:
 
 problems solved. I didn't add the jmx_host and jmx_port to vm_arguments in 
 Eclipse. How come it is not covered in wiki 
 http://wiki.apache.org/cassandra/RunningCassandraInEclipse ? Or is it 
 outdated?
 
 On Mon, Sep 10, 2012 at 10:11 AM, Manu Zhang owenzhang1...@gmail.com wrote:
 It's more like an Eclipse issue now since I find a 0.0.0.0:7199 listener 
 when executing bin/cassandra in terminal but none when running Cassandra 
 in Eclipse.
 
 
 On Sun, Sep 9, 2012 at 12:56 PM, Manu Zhang owenzhang1...@gmail.com wrote:
 No, I don't find a listener whose port is 7199. Where to setup? I've been 
 experimenting on my laptop so both of them are local. 
 
 
 On Sun, Sep 9, 2012 at 1:28 AM, Senthilvel Rangaswamy senthil...@gmail.com 
 wrote:
 What is the address for thrift listener. Did you put 0.0.0.0:7199 ?
 
 On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.com wrote:
 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the 
 following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.
 
 
 
 -- 
 ..Senthil
 
 If there's anything more important than my ego around, I want it 
  caught and shot now.
 - Douglas Adams.
 
 
 
 
 
 



Re: nodetool connection refused

2012-09-12 Thread aaron morton
Thanks for updating the Wiki :)

Cheers

-
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 12/09/2012, at 1:14 PM, Manu Zhang owenzhang1...@gmail.com wrote:

 problems solved. I didn't add the jmx_host and jmx_port to vm_arguments in 
 Eclipse. How come it is not covered in wiki 
 http://wiki.apache.org/cassandra/RunningCassandraInEclipse ? Or is it 
 outdated?
 
 On Mon, Sep 10, 2012 at 10:11 AM, Manu Zhang owenzhang1...@gmail.com wrote:
 It's more like an Eclipse issue now since I find a 0.0.0.0:7199 listener 
 when executing bin/cassandra in terminal but none when running Cassandra in 
 Eclipse.
 
 
 On Sun, Sep 9, 2012 at 12:56 PM, Manu Zhang owenzhang1...@gmail.com wrote:
 No, I don't find a listener whose port is 7199. Where to setup? I've been 
 experimenting on my laptop so both of them are local. 
 
 
 On Sun, Sep 9, 2012 at 1:28 AM, Senthilvel Rangaswamy senthil...@gmail.com 
 wrote:
 What is the address for thrift listener. Did you put 0.0.0.0:7199 ?
 
 On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.com wrote:
 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the 
 following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.
 
 
 
 -- 
 ..Senthil
 
 If there's anything more important than my ego around, I want it 
  caught and shot now.
 - Douglas Adams.
 
 
 
 



Re: nodetool connection refused

2012-09-12 Thread Manu Zhang
I'm afraid we have to include all $JVM_OPTS in the cassandra-env.sh ?

On Thu, Sep 13, 2012 at 5:49 AM, aaron morton aa...@thelastpickle.comwrote:

 Thanks for updating the Wiki :)

 Cheers

 -
 Aaron Morton
 Freelance Developer
 @aaronmorton
 http://www.thelastpickle.com

 On 12/09/2012, at 1:14 PM, Manu Zhang owenzhang1...@gmail.com wrote:

 problems solved. I didn't add the jmx_host and jmx_port to vm_arguments in
 Eclipse. How come it is not covered in wiki
 http://wiki.apache.org/cassandra/RunningCassandraInEclipse ? Or is it
 outdated?

 On Mon, Sep 10, 2012 at 10:11 AM, Manu Zhang owenzhang1...@gmail.comwrote:

 It's more like an Eclipse issue now since I find a 0.0.0.0:7199
 listener when executing bin/cassandra in terminal but none when running
 Cassandra in Eclipse.


 On Sun, Sep 9, 2012 at 12:56 PM, Manu Zhang owenzhang1...@gmail.comwrote:

 No, I don't find a listener whose port is 7199. Where to setup? I've
 been experimenting on my laptop so both of them are local.


 On Sun, Sep 9, 2012 at 1:28 AM, Senthilvel Rangaswamy 
 senthil...@gmail.com wrote:

 What is the address for thrift listener. Did you put 0.0.0.0:7199 ?

 On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.comwrote:

 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with
 the following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.




 --
 ..Senthil

 If there's anything more important than my ego around, I want it
  caught and shot now.
 - Douglas Adams.








Re: nodetool connection refused

2012-09-11 Thread Manu Zhang
problems solved. I didn't add the jmx_host and jmx_port to vm_arguments in
Eclipse. How come it is not covered in wiki
http://wiki.apache.org/cassandra/RunningCassandraInEclipse ? Or is it
outdated?

On Mon, Sep 10, 2012 at 10:11 AM, Manu Zhang owenzhang1...@gmail.comwrote:

 It's more like an Eclipse issue now since I find a 0.0.0.0:7199
 listener when executing bin/cassandra in terminal but none when running
 Cassandra in Eclipse.


 On Sun, Sep 9, 2012 at 12:56 PM, Manu Zhang owenzhang1...@gmail.comwrote:

 No, I don't find a listener whose port is 7199. Where to setup? I've been
 experimenting on my laptop so both of them are local.


 On Sun, Sep 9, 2012 at 1:28 AM, Senthilvel Rangaswamy 
 senthil...@gmail.com wrote:

 What is the address for thrift listener. Did you put 0.0.0.0:7199 ?

 On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.comwrote:

 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with
 the following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.




 --
 ..Senthil

 If there's anything more important than my ego around, I want it
  caught and shot now.
 - Douglas Adams.






Re: nodetool connection refused

2012-09-09 Thread Manu Zhang
It's more like an Eclipse issue now since I find a 0.0.0.0:7199 listener
when executing bin/cassandra in terminal but none when running Cassandra
in Eclipse.

On Sun, Sep 9, 2012 at 12:56 PM, Manu Zhang owenzhang1...@gmail.com wrote:

 No, I don't find a listener whose port is 7199. Where to setup? I've been
 experimenting on my laptop so both of them are local.


 On Sun, Sep 9, 2012 at 1:28 AM, Senthilvel Rangaswamy 
 senthil...@gmail.com wrote:

 What is the address for thrift listener. Did you put 0.0.0.0:7199 ?

 On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.comwrote:

 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
 following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.




 --
 ..Senthil

 If there's anything more important than my ego around, I want it
  caught and shot now.
 - Douglas Adams.





Re: nodetool connection refused

2012-09-08 Thread Mohit Anchlia
Are both running on the same host?

On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.com wrote:

 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
 following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.



Re: nodetool connection refused

2012-09-08 Thread shashwat shriparv
try netstat -nl | 7199

If you can see something then fine else that service itself not running..

On Sat, Sep 8, 2012 at 8:40 PM, Mohit Anchlia mohitanch...@gmail.comwrote:

 Are both running on the same host?


 On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.comwrote:

 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
 following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.





-- 


∞
Shashwat Shriparv


Re: nodetool connection refused

2012-09-08 Thread Senthilvel Rangaswamy
What is the address for thrift listener. Did you put 0.0.0.0:7199 ?

On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.com wrote:

 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
 following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.




-- 
..Senthil

If there's anything more important than my ego around, I want it
 caught and shot now.
- Douglas Adams.


Re: nodetool connection refused

2012-09-08 Thread Manu Zhang
No, I don't find a listener whose port is 7199. Where to setup? I've been
experimenting on my laptop so both of them are local.

On Sun, Sep 9, 2012 at 1:28 AM, Senthilvel Rangaswamy
senthil...@gmail.comwrote:

 What is the address for thrift listener. Did you put 0.0.0.0:7199 ?

 On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang owenzhang1...@gmail.comwrote:

 When I run Cassandra-trunk in Eclipse, nodetool fail to connect with the
 following error
 Failed to connect to '127.0.0.1:7199': Connection refused
 But if I run in terminal, all will be fine.




 --
 ..Senthil

 If there's anything more important than my ego around, I want it
  caught and shot now.
 - Douglas Adams.