You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Michael Shuler <mi...@pbandjelly.org> on 2015/03/16 19:00:50 UTC
Re: nodetool help
(bounced as a new message)
On 03/16/2015 12:34 PM, jean paul wrote:
> ./nodetool gossipinfo -h localhost -p 9042
> nodetool: Found unexpected parameters: [-h, localhost]
> See 'nodetool help' or 'nodetool help <command>'.
>
> Have you an idea please about the last message ?
Did you follow the suggestion?
See 'nodetool help' or 'nodetool help <command>'
If you look at `nodetool help gossipinfo` notice the ordering of options
and the command in the SYNOPSIS. Also port 9042 is not JMX. Try without
any options, first - the defaults will be localhost and your JMX port.
--
Michael
Re: nodetool help
Posted by jean paul <re...@gmail.com>.
In my case,i have:
UN *127.0.0.1* 83.05 KB 256 100.0%
460ddcd9-1ee8-48b8-a618-c076056aad07 rack1
i'd like to change the ip address like:
UN *192.168.1.4*
so i have to modify the file cassandra.yam
# Setting this to 0.0.0.0 is always wrong.
*listen_address: localhost*
-->
*listen_address: 192.168.1.4*
and i have to restart my node ?
That's it ?
Bests.
Re: nodetool help
Posted by jean paul <re...@gmail.com>.
i have to configure cassandra.yaml ? that's it ?
echo "INFORMATION:"
echo "Make changes to /etc/security/limits.d/cassandra.conf and
/etc/security/limits.conf manually as per
http://www.datastax.com/documentation/cassandra/2.0/cassandra/install/installRecommendSettings.html
."
echo "Remember to *change listen_address , broadcast_address, seeds,
snitch, cluster name, rpc_address in /etc/cassandra/cassandra.yaml."*
echo "rpc_address should be 0.0.0.0 to allow clients to connect."
#echo "snitch: Ec2MultiRegion, seeds: public ip, listen_address: private
ip, broadcast_address: public ip. Ports would need to be opened. Secure
cluster first."
echo "snitch: Ec2Snitch, seeds: private, listen_address: private ip,
broadcast_address: private ip"
echo "To change data storage directories, change commitlog_directory and
data_file_directories"
echo "For OpsCenter, see comments in script"
1) i have 10 machines in my cluster, how can i create a ring on these 10
machines, i have to launch cassandra on each machine ?
2015-03-17 12:21 GMT+01:00 Ali Akhtar <al...@gmail.com>:
> The script that you ran has a lot of comments with links that describe the
> installation process. I would suggest reading those links.
>
> On Tue, Mar 17, 2015 at 3:42 PM, jean paul <re...@gmail.com> wrote:
>
>> Hello All,
>>
>> I launched the script (./cassandra-install.sh) without making any changes
>> and it works.
>> Then:
>> *First Terminal:*
>> $cassandra
>> .......................
>> INFO 10:52:26,655 Node /127.0.0.1 state jump to normal
>> INFO 10:52:26,791 Starting listening for CQL clients on
>> localhost/127.0.0.1:9042...
>> INFO 10:52:26,829 Using TFramedTransport with a max frame size of
>> 15728640 bytes.
>> INFO 10:52:26,830 Binding thrift service to localhost/127.0.0.1:9160
>> INFO 10:52:26,836 Using synchronous/threadpool thrift server on
>> localhost : 9160
>> INFO 10:52:26,836 Listening for thrift clients...
>>
>> *Second Terminal:*
>>
>> $nodetool join
>> This node has already joined the ring.
>>
>> $nodetool status
>> Datacenter: datacenter1
>> =======================
>> Status=Up/Down
>> |/ State=Normal/Leaving/Joining/Moving
>> -- Address Load Tokens Owns (effective) Host
>> ID Rack
>> *UN 127.0.0.1 83.05 KB 256 100.0%
>> 460ddcd9-1ee8-48b8-a618-c076056aad07 rack1*
>>
>> Please, i have two questions:
>> 1) i have 10 machines in my cluster, how can i create a ring on these 10
>> machines, i have to launch cassandra on each machine ?
>> 2) what command can i use to see all nodes on the ring and their status
>> (alive or not).
>>
>> i would like to have details like in this list: (
>>
>> http://stackoverflow.com/questions/8589938/how-to-remove-dead-node-out-of-the-cassandra-cluster
>> )
>>
>> nodetool status
>>
>> DN *192.168.56.201* ? 256 13.1% 4fa4d101-d8d2-4de6-9ad7-a487e165c4ac r1
>> DN 192.168.56.202 ? 256 12.6% e11d219a-0b65-461e-babc-6485343568f8 r1
>> UN 192.168.2.91 156.04 KB 256 12.4% e1a33ed4-d613-47a6-8b3b-325650a2bbd4 RAC1
>> UN 192.168.2.92 156.22 KB 256 13.6% 3a4a086c-36a6-4d69-8b61-864ff37d03c9 RAC1
>> UN 192.168.2.93 149.6 KB 256 11.3% 20decc72-8d0a-4c3b-8804-cc8bc98fa9e8 RAC1
>>
>>
>>
>> Thanks a lot for help.
>> Best Regards.
>>
>
>
Re: nodetool help
Posted by Ali Akhtar <al...@gmail.com>.
The script that you ran has a lot of comments with links that describe the
installation process. I would suggest reading those links.
On Tue, Mar 17, 2015 at 3:42 PM, jean paul <re...@gmail.com> wrote:
> Hello All,
>
> I launched the script (./cassandra-install.sh) without making any changes
> and it works.
> Then:
> *First Terminal:*
> $cassandra
> .......................
> INFO 10:52:26,655 Node /127.0.0.1 state jump to normal
> INFO 10:52:26,791 Starting listening for CQL clients on
> localhost/127.0.0.1:9042...
> INFO 10:52:26,829 Using TFramedTransport with a max frame size of
> 15728640 bytes.
> INFO 10:52:26,830 Binding thrift service to localhost/127.0.0.1:9160
> INFO 10:52:26,836 Using synchronous/threadpool thrift server on localhost
> : 9160
> INFO 10:52:26,836 Listening for thrift clients...
>
> *Second Terminal:*
>
> $nodetool join
> This node has already joined the ring.
>
> $nodetool status
> Datacenter: datacenter1
> =======================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> -- Address Load Tokens Owns (effective) Host
> ID Rack
> *UN 127.0.0.1 83.05 KB 256 100.0%
> 460ddcd9-1ee8-48b8-a618-c076056aad07 rack1*
>
> Please, i have two questions:
> 1) i have 10 machines in my cluster, how can i create a ring on these 10
> machines, i have to launch cassandra on each machine ?
> 2) what command can i use to see all nodes on the ring and their status
> (alive or not).
>
> i would like to have details like in this list: (
>
> http://stackoverflow.com/questions/8589938/how-to-remove-dead-node-out-of-the-cassandra-cluster
> )
>
> nodetool status
>
> DN *192.168.56.201* ? 256 13.1% 4fa4d101-d8d2-4de6-9ad7-a487e165c4ac r1
> DN 192.168.56.202 ? 256 12.6% e11d219a-0b65-461e-babc-6485343568f8 r1
> UN 192.168.2.91 156.04 KB 256 12.4% e1a33ed4-d613-47a6-8b3b-325650a2bbd4 RAC1
> UN 192.168.2.92 156.22 KB 256 13.6% 3a4a086c-36a6-4d69-8b61-864ff37d03c9 RAC1
> UN 192.168.2.93 149.6 KB 256 11.3% 20decc72-8d0a-4c3b-8804-cc8bc98fa9e8 RAC1
>
>
>
> Thanks a lot for help.
> Best Regards.
>
Re: nodetool help
Posted by jean paul <re...@gmail.com>.
Hello All,
I launched the script (./cassandra-install.sh) without making any changes
and it works.
Then:
*First Terminal:*
$cassandra
.......................
INFO 10:52:26,655 Node /127.0.0.1 state jump to normal
INFO 10:52:26,791 Starting listening for CQL clients on
localhost/127.0.0.1:9042...
INFO 10:52:26,829 Using TFramedTransport with a max frame size of 15728640
bytes.
INFO 10:52:26,830 Binding thrift service to localhost/127.0.0.1:9160
INFO 10:52:26,836 Using synchronous/threadpool thrift server on localhost
: 9160
INFO 10:52:26,836 Listening for thrift clients...
*Second Terminal:*
$nodetool join
This node has already joined the ring.
$nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host
ID Rack
*UN 127.0.0.1 83.05 KB 256 100.0%
460ddcd9-1ee8-48b8-a618-c076056aad07 rack1*
Please, i have two questions:
1) i have 10 machines in my cluster, how can i create a ring on these 10
machines, i have to launch cassandra on each machine ?
2) what command can i use to see all nodes on the ring and their status
(alive or not).
i would like to have details like in this list: (
http://stackoverflow.com/questions/8589938/how-to-remove-dead-node-out-of-the-cassandra-cluster
)
nodetool status
DN *192.168.56.201* ? 256 13.1%
4fa4d101-d8d2-4de6-9ad7-a487e165c4ac r1
DN 192.168.56.202 ? 256 12.6%
e11d219a-0b65-461e-babc-6485343568f8 r1
UN 192.168.2.91 156.04 KB 256 12.4%
e1a33ed4-d613-47a6-8b3b-325650a2bbd4 RAC1
UN 192.168.2.92 156.22 KB 256 13.6%
3a4a086c-36a6-4d69-8b61-864ff37d03c9 RAC1
UN 192.168.2.93 149.6 KB 256 11.3%
20decc72-8d0a-4c3b-8804-cc8bc98fa9e8 RAC1
Thanks a lot for help.
Best Regards.
Re: nodetool help
Posted by jean paul <re...@gmail.com>.
Hello All,
I launched the script (./cassandra-install.sh) without making any changes
and it works.
Then:
*First Terminal:*
$cassandra
.......................
INFO 10:52:26,655 Node /127.0.0.1 state jump to normal
INFO 10:52:26,791 Starting listening for CQL clients on
localhost/127.0.0.1:9042...
INFO 10:52:26,829 Using TFramedTransport with a max frame size of 15728640
bytes.
INFO 10:52:26,830 Binding thrift service to localhost/127.0.0.1:9160
INFO 10:52:26,836 Using synchronous/threadpool thrift server on localhost
: 9160
INFO 10:52:26,836 Listening for thrift clients...
*Second Terminal:*
$nodetool join
This node has already joined the ring.
$nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host
ID Rack
*UN 127.0.0.1 83.05 KB 256 100.0%
460ddcd9-1ee8-48b8-a618-c076056aad07 rack1*
Please, i have two questions:
1) i have 10 machines in my cluster, how can i create a ring on these 10
machines, i have to launch cassandra on each machine ?
2) what command can i use to see all nodes on the ring and their status
(alive or not).
Thanks a lot for help.
Best Regards.
2015-03-16 21:59 GMT+01:00 Ali Akhtar <al...@gmail.com>:
> Yes, absolutely. I thought he was looking for an install.sh type of
> script. I did say a fresh server ;)
>
> On Tue, Mar 17, 2015 at 1:52 AM, Jonathan Haddad <jo...@jonhaddad.com>
> wrote:
>
>> Be careful w/ that script if you're looking to upgrade, it nukes your
>> data directory.
>>
>> sudo rm -rf /var/lib/cassandra/data/system/*
>>
>> On Mon, Mar 16, 2015 at 1:41 PM, Ali Akhtar <al...@gmail.com> wrote:
>>
>>> https://gist.github.com/aliakhtar/3649e412787034156cbb
>>>
>>> Best run from a fresh ubuntu server.
>>>
>>> On Tue, Mar 17, 2015 at 12:50 AM, jean paul <re...@gmail.com>
>>> wrote:
>>>
>>>> i find this solution:
>>>>
>>>> http://www.liquidweb.com/kb/error-failed-to-connect-to-127-0-0-17199-connection-refused-cassandra-solved/
>>>>
>>>> but i haven't this file at all !!
>>>> /etc/cassandra/default.conf/cassandra-env.sh
>>>>
>>>> please, i have a dought about how to install cassandra.. i have only
>>>> downloaded the paquet et used the command inside the bin directory! that's
>>>> it ?
>>>>
>>>> i can't find a file install.sh for example...
>>>>
>>>>
>>>>
>>>>
>>>> 2015-03-16 20:11 GMT+01:00 jean paul <re...@gmail.com>:
>>>>
>>>>> i can test './cqlsh' command but not with nodetool !
>>>>>
>>>>> /Bureau/apache-cassandra-2.0.13/bin# ./cqlsh
>>>>> Connected to Test Cluster at localhost:9160.
>>>>> [cqlsh 4.1.1 | Cassandra 2.0.13 | CQL spec 3.1.1 | Thrift protocol
>>>>> 19.39.0]
>>>>> Use HELP for help.
>>>>> cqlsh>
>>>>> cqlsh>
>>>>> cqlsh> exit
>>>>> /Bureau/apache-cassandra-2.0.13/bin# .
>>>>>
>>>>>
>>>>> */nodetool infoFailed to connect to '127.0.0.1:7199
>>>>> <http://127.0.0.1:7199>': Connexion refusée*
>>>>>
>>>>> 2015-03-16 19:50 GMT+01:00 jean paul <re...@gmail.com>:
>>>>>
>>>>>> ./nodetool help gossipinfo
>>>>>> NAME
>>>>>> nodetool gossipinfo - Shows the gossip information for the
>>>>>> cluster
>>>>>>
>>>>>> SYNOPSIS
>>>>>> nodetool [(-h <host> | --host <host>)] [(-p <port> | --port
>>>>>> <port>)]
>>>>>> [(-pw <password> | --password <password>)]
>>>>>> [(-pwf <passwordFilePath> | --password-file
>>>>>> <passwordFilePath>)]
>>>>>> [(-u <username> | --username <username>)] gossipinfo
>>>>>>
>>>>>> OPTIONS
>>>>>> -h <host>, --host <host>
>>>>>> Node hostname or ip address
>>>>>>
>>>>>> -p <port>, --port <port>
>>>>>> Remote jmx agent port number
>>>>>>
>>>>>> -pw <password>, --password <password>
>>>>>> Remote jmx agent password
>>>>>>
>>>>>> -pwf <passwordFilePath>, --password-file <passwordFilePath>
>>>>>> Path to the JMX password file
>>>>>>
>>>>>> -u <username>, --username <username>
>>>>>> Remote jmx agent username
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> Jon Haddad
>> http://www.rustyrazorblade.com
>> twitter: rustyrazorblade
>>
>
>
Re: nodetool help
Posted by Ali Akhtar <al...@gmail.com>.
Yes, absolutely. I thought he was looking for an install.sh type of script.
I did say a fresh server ;)
On Tue, Mar 17, 2015 at 1:52 AM, Jonathan Haddad <jo...@jonhaddad.com> wrote:
> Be careful w/ that script if you're looking to upgrade, it nukes your data
> directory.
>
> sudo rm -rf /var/lib/cassandra/data/system/*
>
> On Mon, Mar 16, 2015 at 1:41 PM, Ali Akhtar <al...@gmail.com> wrote:
>
>> https://gist.github.com/aliakhtar/3649e412787034156cbb
>>
>> Best run from a fresh ubuntu server.
>>
>> On Tue, Mar 17, 2015 at 12:50 AM, jean paul <re...@gmail.com>
>> wrote:
>>
>>> i find this solution:
>>>
>>> http://www.liquidweb.com/kb/error-failed-to-connect-to-127-0-0-17199-connection-refused-cassandra-solved/
>>>
>>> but i haven't this file at all !!
>>> /etc/cassandra/default.conf/cassandra-env.sh
>>>
>>> please, i have a dought about how to install cassandra.. i have only
>>> downloaded the paquet et used the command inside the bin directory! that's
>>> it ?
>>>
>>> i can't find a file install.sh for example...
>>>
>>>
>>>
>>>
>>> 2015-03-16 20:11 GMT+01:00 jean paul <re...@gmail.com>:
>>>
>>>> i can test './cqlsh' command but not with nodetool !
>>>>
>>>> /Bureau/apache-cassandra-2.0.13/bin# ./cqlsh
>>>> Connected to Test Cluster at localhost:9160.
>>>> [cqlsh 4.1.1 | Cassandra 2.0.13 | CQL spec 3.1.1 | Thrift protocol
>>>> 19.39.0]
>>>> Use HELP for help.
>>>> cqlsh>
>>>> cqlsh>
>>>> cqlsh> exit
>>>> /Bureau/apache-cassandra-2.0.13/bin# .
>>>>
>>>>
>>>> */nodetool infoFailed to connect to '127.0.0.1:7199
>>>> <http://127.0.0.1:7199>': Connexion refusée*
>>>>
>>>> 2015-03-16 19:50 GMT+01:00 jean paul <re...@gmail.com>:
>>>>
>>>>> ./nodetool help gossipinfo
>>>>> NAME
>>>>> nodetool gossipinfo - Shows the gossip information for the
>>>>> cluster
>>>>>
>>>>> SYNOPSIS
>>>>> nodetool [(-h <host> | --host <host>)] [(-p <port> | --port
>>>>> <port>)]
>>>>> [(-pw <password> | --password <password>)]
>>>>> [(-pwf <passwordFilePath> | --password-file
>>>>> <passwordFilePath>)]
>>>>> [(-u <username> | --username <username>)] gossipinfo
>>>>>
>>>>> OPTIONS
>>>>> -h <host>, --host <host>
>>>>> Node hostname or ip address
>>>>>
>>>>> -p <port>, --port <port>
>>>>> Remote jmx agent port number
>>>>>
>>>>> -pw <password>, --password <password>
>>>>> Remote jmx agent password
>>>>>
>>>>> -pwf <passwordFilePath>, --password-file <passwordFilePath>
>>>>> Path to the JMX password file
>>>>>
>>>>> -u <username>, --username <username>
>>>>> Remote jmx agent username
>>>>>
>>>>
>>>>
>>>
>>
>
>
> --
> Jon Haddad
> http://www.rustyrazorblade.com
> twitter: rustyrazorblade
>
Re: nodetool help
Posted by Jonathan Haddad <jo...@jonhaddad.com>.
Be careful w/ that script if you're looking to upgrade, it nukes your data
directory.
sudo rm -rf /var/lib/cassandra/data/system/*
On Mon, Mar 16, 2015 at 1:41 PM, Ali Akhtar <al...@gmail.com> wrote:
> https://gist.github.com/aliakhtar/3649e412787034156cbb
>
> Best run from a fresh ubuntu server.
>
> On Tue, Mar 17, 2015 at 12:50 AM, jean paul <re...@gmail.com>
> wrote:
>
>> i find this solution:
>>
>> http://www.liquidweb.com/kb/error-failed-to-connect-to-127-0-0-17199-connection-refused-cassandra-solved/
>>
>> but i haven't this file at all !!
>> /etc/cassandra/default.conf/cassandra-env.sh
>>
>> please, i have a dought about how to install cassandra.. i have only
>> downloaded the paquet et used the command inside the bin directory! that's
>> it ?
>>
>> i can't find a file install.sh for example...
>>
>>
>>
>>
>> 2015-03-16 20:11 GMT+01:00 jean paul <re...@gmail.com>:
>>
>>> i can test './cqlsh' command but not with nodetool !
>>>
>>> /Bureau/apache-cassandra-2.0.13/bin# ./cqlsh
>>> Connected to Test Cluster at localhost:9160.
>>> [cqlsh 4.1.1 | Cassandra 2.0.13 | CQL spec 3.1.1 | Thrift protocol
>>> 19.39.0]
>>> Use HELP for help.
>>> cqlsh>
>>> cqlsh>
>>> cqlsh> exit
>>> /Bureau/apache-cassandra-2.0.13/bin# .
>>>
>>>
>>> */nodetool infoFailed to connect to '127.0.0.1:7199
>>> <http://127.0.0.1:7199>': Connexion refusée*
>>>
>>> 2015-03-16 19:50 GMT+01:00 jean paul <re...@gmail.com>:
>>>
>>>> ./nodetool help gossipinfo
>>>> NAME
>>>> nodetool gossipinfo - Shows the gossip information for the
>>>> cluster
>>>>
>>>> SYNOPSIS
>>>> nodetool [(-h <host> | --host <host>)] [(-p <port> | --port
>>>> <port>)]
>>>> [(-pw <password> | --password <password>)]
>>>> [(-pwf <passwordFilePath> | --password-file
>>>> <passwordFilePath>)]
>>>> [(-u <username> | --username <username>)] gossipinfo
>>>>
>>>> OPTIONS
>>>> -h <host>, --host <host>
>>>> Node hostname or ip address
>>>>
>>>> -p <port>, --port <port>
>>>> Remote jmx agent port number
>>>>
>>>> -pw <password>, --password <password>
>>>> Remote jmx agent password
>>>>
>>>> -pwf <passwordFilePath>, --password-file <passwordFilePath>
>>>> Path to the JMX password file
>>>>
>>>> -u <username>, --username <username>
>>>> Remote jmx agent username
>>>>
>>>
>>>
>>
>
--
Jon Haddad
http://www.rustyrazorblade.com
twitter: rustyrazorblade
Re: nodetool help
Posted by Ali Akhtar <al...@gmail.com>.
https://gist.github.com/aliakhtar/3649e412787034156cbb
Best run from a fresh ubuntu server.
On Tue, Mar 17, 2015 at 12:50 AM, jean paul <re...@gmail.com> wrote:
> i find this solution:
>
> http://www.liquidweb.com/kb/error-failed-to-connect-to-127-0-0-17199-connection-refused-cassandra-solved/
>
> but i haven't this file at all !!
> /etc/cassandra/default.conf/cassandra-env.sh
>
> please, i have a dought about how to install cassandra.. i have only
> downloaded the paquet et used the command inside the bin directory! that's
> it ?
>
> i can't find a file install.sh for example...
>
>
>
>
> 2015-03-16 20:11 GMT+01:00 jean paul <re...@gmail.com>:
>
>> i can test './cqlsh' command but not with nodetool !
>>
>> /Bureau/apache-cassandra-2.0.13/bin# ./cqlsh
>> Connected to Test Cluster at localhost:9160.
>> [cqlsh 4.1.1 | Cassandra 2.0.13 | CQL spec 3.1.1 | Thrift protocol
>> 19.39.0]
>> Use HELP for help.
>> cqlsh>
>> cqlsh>
>> cqlsh> exit
>> /Bureau/apache-cassandra-2.0.13/bin# .
>>
>>
>> */nodetool infoFailed to connect to '127.0.0.1:7199
>> <http://127.0.0.1:7199>': Connexion refusée*
>>
>> 2015-03-16 19:50 GMT+01:00 jean paul <re...@gmail.com>:
>>
>>> ./nodetool help gossipinfo
>>> NAME
>>> nodetool gossipinfo - Shows the gossip information for the
>>> cluster
>>>
>>> SYNOPSIS
>>> nodetool [(-h <host> | --host <host>)] [(-p <port> | --port
>>> <port>)]
>>> [(-pw <password> | --password <password>)]
>>> [(-pwf <passwordFilePath> | --password-file
>>> <passwordFilePath>)]
>>> [(-u <username> | --username <username>)] gossipinfo
>>>
>>> OPTIONS
>>> -h <host>, --host <host>
>>> Node hostname or ip address
>>>
>>> -p <port>, --port <port>
>>> Remote jmx agent port number
>>>
>>> -pw <password>, --password <password>
>>> Remote jmx agent password
>>>
>>> -pwf <passwordFilePath>, --password-file <passwordFilePath>
>>> Path to the JMX password file
>>>
>>> -u <username>, --username <username>
>>> Remote jmx agent username
>>>
>>
>>
>
Re: nodetool help
Posted by jean paul <re...@gmail.com>.
i find this solution:
http://www.liquidweb.com/kb/error-failed-to-connect-to-127-0-0-17199-connection-refused-cassandra-solved/
but i haven't this file at all !!
/etc/cassandra/default.conf/cassandra-env.sh
please, i have a dought about how to install cassandra.. i have only
downloaded the paquet et used the command inside the bin directory! that's
it ?
i can't find a file install.sh for example...
2015-03-16 20:11 GMT+01:00 jean paul <re...@gmail.com>:
> i can test './cqlsh' command but not with nodetool !
>
> /Bureau/apache-cassandra-2.0.13/bin# ./cqlsh
> Connected to Test Cluster at localhost:9160.
> [cqlsh 4.1.1 | Cassandra 2.0.13 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
> Use HELP for help.
> cqlsh>
> cqlsh>
> cqlsh> exit
> /Bureau/apache-cassandra-2.0.13/bin# .
>
>
> */nodetool infoFailed to connect to '127.0.0.1:7199
> <http://127.0.0.1:7199>': Connexion refusée*
>
> 2015-03-16 19:50 GMT+01:00 jean paul <re...@gmail.com>:
>
>> ./nodetool help gossipinfo
>> NAME
>> nodetool gossipinfo - Shows the gossip information for the cluster
>>
>> SYNOPSIS
>> nodetool [(-h <host> | --host <host>)] [(-p <port> | --port
>> <port>)]
>> [(-pw <password> | --password <password>)]
>> [(-pwf <passwordFilePath> | --password-file
>> <passwordFilePath>)]
>> [(-u <username> | --username <username>)] gossipinfo
>>
>> OPTIONS
>> -h <host>, --host <host>
>> Node hostname or ip address
>>
>> -p <port>, --port <port>
>> Remote jmx agent port number
>>
>> -pw <password>, --password <password>
>> Remote jmx agent password
>>
>> -pwf <passwordFilePath>, --password-file <passwordFilePath>
>> Path to the JMX password file
>>
>> -u <username>, --username <username>
>> Remote jmx agent username
>>
>
>
Re: nodetool help
Posted by jean paul <re...@gmail.com>.
i can test './cqlsh' command but not with nodetool !
/Bureau/apache-cassandra-2.0.13/bin# ./cqlsh
Connected to Test Cluster at localhost:9160.
[cqlsh 4.1.1 | Cassandra 2.0.13 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
Use HELP for help.
cqlsh>
cqlsh>
cqlsh> exit
/Bureau/apache-cassandra-2.0.13/bin# .
*/nodetool infoFailed to connect to '127.0.0.1:7199
<http://127.0.0.1:7199>': Connexion refusée*
2015-03-16 19:50 GMT+01:00 jean paul <re...@gmail.com>:
> ./nodetool help gossipinfo
> NAME
> nodetool gossipinfo - Shows the gossip information for the cluster
>
> SYNOPSIS
> nodetool [(-h <host> | --host <host>)] [(-p <port> | --port
> <port>)]
> [(-pw <password> | --password <password>)]
> [(-pwf <passwordFilePath> | --password-file
> <passwordFilePath>)]
> [(-u <username> | --username <username>)] gossipinfo
>
> OPTIONS
> -h <host>, --host <host>
> Node hostname or ip address
>
> -p <port>, --port <port>
> Remote jmx agent port number
>
> -pw <password>, --password <password>
> Remote jmx agent password
>
> -pwf <passwordFilePath>, --password-file <passwordFilePath>
> Path to the JMX password file
>
> -u <username>, --username <username>
> Remote jmx agent username
>
Re: nodetool help
Posted by jean paul <re...@gmail.com>.
./nodetool help gossipinfo
NAME
nodetool gossipinfo - Shows the gossip information for the cluster
SYNOPSIS
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
[(-pw <password> | --password <password>)]
[(-pwf <passwordFilePath> | --password-file
<passwordFilePath>)]
[(-u <username> | --username <username>)] gossipinfo
OPTIONS
-h <host>, --host <host>
Node hostname or ip address
-p <port>, --port <port>
Remote jmx agent port number
-pw <password>, --password <password>
Remote jmx agent password
-pwf <passwordFilePath>, --password-file <passwordFilePath>
Path to the JMX password file
-u <username>, --username <username>
Remote jmx agent username