You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Manu Zhang <ow...@gmail.com> on 2012/09/08 08:53:32 UTC
nodetool connection refused
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
Posted by shashwat shriparv <dw...@gmail.com>.
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 <mo...@gmail.com>wrote:
> Are both running on the same host?
>
>
> On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang <ow...@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.
>>
>
>
--
∞
Shashwat Shriparv
Re: nodetool connection refused
Posted by Mohit Anchlia <mo...@gmail.com>.
Are both running on the same host?
On Fri, Sep 7, 2012 at 11:53 PM, Manu Zhang <ow...@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
Posted by Manu Zhang <ow...@gmail.com>.
should we update the wiki?
On Fri, Sep 14, 2012 at 1:18 PM, aaron morton <aa...@thelastpickle.com>wrote:
> 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 <ow...@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 <ow...@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 <ow...@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 <ow...@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 <
>>>> senthilvel@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 <ow...@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
Posted by aaron morton <aa...@thelastpickle.com>.
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 <ow...@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 <ow...@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 <ow...@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 <ow...@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 <se...@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 <ow...@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
Posted by Manu Zhang <ow...@gmail.com>.
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 <ow...@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 <ow...@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 <ow...@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 <
>>> senthilvel@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 <ow...@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
Posted by aaron morton <aa...@thelastpickle.com>.
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 <ow...@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 <ow...@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 <ow...@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 <se...@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 <ow...@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
Posted by Manu Zhang <ow...@gmail.com>.
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 <ow...@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 <ow...@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 <
>> senthilvel@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 <ow...@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
Posted by Manu Zhang <ow...@gmail.com>.
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 <ow...@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 <
> senthilvel@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 <ow...@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
Posted by Manu Zhang <ow...@gmail.com>.
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
<se...@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 <ow...@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
Posted by Senthilvel Rangaswamy <se...@gmail.com>.
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 <ow...@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.