[RELEASE] Apache Cassandra 2.0.13 released

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

[RELEASE] Apache Cassandra 2.0.13 released

Jake Luciani-2
Apache Cassandra is a fully distributed database. It is the right choice
when you need scalability and high availability without compromising
performance.

 http://cassandra.apache.org/

Downloads of source and binary distributions are listed in our download
section:

 http://cassandra.apache.org/download/

This version is a bug fix release[1] on the 2.0 series. As always, please pay
attention to the release notes[2] and Let us know[3] if you were to encounter
any problem.

Enjoy!

[1]: http://goo.gl/Rh9gyx (CHANGES.txt)
[2]: http://goo.gl/k8vIom (NEWS.txt)
[3]: https://issues.apache.org/jira/browse/CASSANDRA
Reply | Threaded
Open this post in threaded view
|

Re: [RELEASE] Apache Cassandra 2.0.13 released

jean paul
Hello,

Please, i have a cluster of 10 nodes, so i have to download the last version of cassandra and install it on each node, that's it ?


Thanks a lot.
Best Regards.

2015-03-16 16:39 GMT+01:00 Jake Luciani <[hidden email]>:
Apache Cassandra is a fully distributed database. It is the right choice
when you need scalability and high availability without compromising
performance.

 http://cassandra.apache.org/

Downloads of source and binary distributions are listed in our download
section:

 http://cassandra.apache.org/download/

This version is a bug fix release[1] on the 2.0 series. As always, please pay
attention to the release notes[2] and Let us know[3] if you were to encounter
any problem.

Enjoy!

[1]: http://goo.gl/Rh9gyx (CHANGES.txt)
[2]: http://goo.gl/k8vIom (NEWS.txt)
[3]: https://issues.apache.org/jira/browse/CASSANDRA

Reply | Threaded
Open this post in threaded view
|

Re: [RELEASE] Apache Cassandra 2.0.13 released

Michael Shuler
2.0.13 is the latest release in the 2.0 branch. There is also the 2.1
branch, which is currently at 2.1.3, and 2.1.4 is under development.

This is all listed on http://cassandra.apache.org/download/ and this
question may be best suited for the user mailing list :)

--
Michael

On 03/16/2015 11:34 AM, jean paul wrote:

> Hello,
>
> Please, i have a cluster of 10 nodes, so i have to download the last
> version of cassandra and install it on each node, that's it ?
>
>
> Thanks a lot.
> Best Regards.
>
> 2015-03-16 16:39 GMT+01:00 Jake Luciani <[hidden email]
> <mailto:[hidden email]>>:
>
>     Apache Cassandra is a fully distributed database. It is the right choice
>     when you need scalability and high availability without compromising
>     performance.
>
>     http://cassandra.apache.org/
>
>     Downloads of source and binary distributions are listed in our download
>     section:
>
>     http://cassandra.apache.org/download/
>
>     This version is a bug fix release[1] on the 2.0 series. As always,
>     please pay
>     attention to the release notes[2] and Let us know[3] if you were to
>     encounter
>     any problem.
>
>     Enjoy!
>
>     [1]: http://goo.gl/Rh9gyx (CHANGES.txt)
>     [2]: http://goo.gl/k8vIom (NEWS.txt)
>     [3]: https://issues.apache.org/jira/browse/CASSANDRA
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [RELEASE] Apache Cassandra 2.0.13 released

jean paul
OK.
I have tens of nodes in my cluster. i'd like to get the states of these nodes(alive, not etc ..). (it is just a first step to test cassandra)
So, i have downloaded the latest release.

First terminal:

../apache-cassandra-2.1.3/bin$ ./cassandra -f
.............

INFO  17:16:54 Starting listening for CQL clients on localhost/127.0.0.1:9042...
INFO  17:16:54 Binding thrift service to localhost/127.0.0.1:9160
INFO  17:16:54 Listening for thrift clients...

Second terminal:
./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 ?

Best Regards.
Thanks a lot.



2015-03-16 17:55 GMT+01:00 Michael Shuler <[hidden email]>:
2.0.13 is the latest release in the 2.0 branch. There is also the 2.1 branch, which is currently at 2.1.3, and 2.1.4 is under development.

This is all listed on http://cassandra.apache.org/download/ and this question may be best suited for the user mailing list :)

--
Michael

On 03/16/2015 11:34 AM, jean paul wrote:
Hello,

Please, i have a cluster of 10 nodes, so i have to download the last
version of cassandra and install it on each node, that's it ?


Thanks a lot.
Best Regards.

2015-03-16 16:39 GMT+01:00 Jake Luciani <[hidden email]
<mailto:[hidden email]>>:

    Apache Cassandra is a fully distributed database. It is the right choice
    when you need scalability and high availability without compromising
    performance.

    http://cassandra.apache.org/

    Downloads of source and binary distributions are listed in our download
    section:

    http://cassandra.apache.org/download/

    This version is a bug fix release[1] on the 2.0 series. As always,
    please pay
    attention to the release notes[2] and Let us know[3] if you were to
    encounter
    any problem.

    Enjoy!

    [1]: http://goo.gl/Rh9gyx (CHANGES.txt)
    [2]: http://goo.gl/k8vIom (NEWS.txt)
    [3]: https://issues.apache.org/jira/browse/CASSANDRA




Reply | Threaded
Open this post in threaded view
|

Re: [RELEASE] Apache Cassandra 2.0.13 released

Redmumba
You should probably make a new thread for this.  This is an announcement for a new Cassandra release.

On Mon, Mar 16, 2015 at 10:34 AM, jean paul <[hidden email]> wrote:
OK.
I have tens of nodes in my cluster. i'd like to get the states of these nodes(alive, not etc ..). (it is just a first step to test cassandra)
So, i have downloaded the latest release.

First terminal:

../apache-cassandra-2.1.3/bin$ ./cassandra -f
.............

INFO  17:16:54 Starting listening for CQL clients on localhost/127.0.0.1:9042...
INFO  17:16:54 Binding thrift service to localhost/127.0.0.1:9160
INFO  17:16:54 Listening for thrift clients...

Second terminal:
./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 ?

Best Regards.
Thanks a lot.



2015-03-16 17:55 GMT+01:00 Michael Shuler <[hidden email]>:
2.0.13 is the latest release in the 2.0 branch. There is also the 2.1 branch, which is currently at 2.1.3, and 2.1.4 is under development.

This is all listed on http://cassandra.apache.org/download/ and this question may be best suited for the user mailing list :)

--
Michael

On 03/16/2015 11:34 AM, jean paul wrote:
Hello,

Please, i have a cluster of 10 nodes, so i have to download the last
version of cassandra and install it on each node, that's it ?


Thanks a lot.
Best Regards.

2015-03-16 16:39 GMT+01:00 Jake Luciani <[hidden email]
<mailto:[hidden email]>>:

    Apache Cassandra is a fully distributed database. It is the right choice
    when you need scalability and high availability without compromising
    performance.

    http://cassandra.apache.org/

    Downloads of source and binary distributions are listed in our download
    section:

    http://cassandra.apache.org/download/

    This version is a bug fix release[1] on the 2.0 series. As always,
    please pay
    attention to the release notes[2] and Let us know[3] if you were to
    encounter
    any problem.

    Enjoy!

    [1]: http://goo.gl/Rh9gyx (CHANGES.txt)
    [2]: http://goo.gl/k8vIom (NEWS.txt)
    [3]: https://issues.apache.org/jira/browse/CASSANDRA





Reply | Threaded
Open this post in threaded view
|

Re: [RELEASE] Apache Cassandra 2.0.13 released

jean paul
I have done the same test again but i have errors with the two versions 2.1.3 and 2.0.13

:~/Bureau/apache-cassandra-2.1.3/bin$ ./cassandra -f
CompilerOracle: inline org/apache/cassandra/db/AbstractNativeCell.compareTo (Lorg/apache/cassandra/db/composites/Composite;)I
CompilerOracle: inline org/apache/cassandra/db/composites/AbstractSimpleCellNameType.compareUnsigned (Lorg/apache/cassandra/db/composites/Composite;Lorg/apache/cassandra/db/composites/Composite;)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare (Ljava/nio/ByteBuffer;[B)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare ([BLjava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compareUnsigned (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/lang/Object;JILjava/lang/Object;JI)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/lang/Object;JILjava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
Erreur: Exception envoyée par l'agent : java.lang.NullPointerException

:~/Bureau$ cd apache-cassandra-2.0.13/
:~/Bureau/apache-cassandra-2.0.13$ ./cassandra -f
bash: ./cassandra: Aucun fichier ou dossier de ce type
:~/Bureau/apache-cassandra-2.0.13$ cd bin/
:~/Bureau/apache-cassandra-2.0.13/bin$ ./cassandra -f
Erreur: Exception envoyée par l'agent : java.lang.NullPointerException

perharps i have to do some config before running cassandra ?



2015-03-16 18:38 GMT+01:00 Redmumba <[hidden email]>:
You should probably make a new thread for this.  This is an announcement for a new Cassandra release.

On Mon, Mar 16, 2015 at 10:34 AM, jean paul <[hidden email]> wrote:
OK.
I have tens of nodes in my cluster. i'd like to get the states of these nodes(alive, not etc ..). (it is just a first step to test cassandra)
So, i have downloaded the latest release.

First terminal:

../apache-cassandra-2.1.3/bin$ ./cassandra -f
.............

INFO  17:16:54 Starting listening for CQL clients on localhost/127.0.0.1:9042...
INFO  17:16:54 Binding thrift service to localhost/127.0.0.1:9160
INFO  17:16:54 Listening for thrift clients...

Second terminal:
./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 ?

Best Regards.
Thanks a lot.



2015-03-16 17:55 GMT+01:00 Michael Shuler <[hidden email]>:
2.0.13 is the latest release in the 2.0 branch. There is also the 2.1 branch, which is currently at 2.1.3, and 2.1.4 is under development.

This is all listed on http://cassandra.apache.org/download/ and this question may be best suited for the user mailing list :)

--
Michael

On 03/16/2015 11:34 AM, jean paul wrote:
Hello,

Please, i have a cluster of 10 nodes, so i have to download the last
version of cassandra and install it on each node, that's it ?


Thanks a lot.
Best Regards.

2015-03-16 16:39 GMT+01:00 Jake Luciani <[hidden email]
<mailto:[hidden email]>>:

    Apache Cassandra is a fully distributed database. It is the right choice
    when you need scalability and high availability without compromising
    performance.

    http://cassandra.apache.org/

    Downloads of source and binary distributions are listed in our download
    section:

    http://cassandra.apache.org/download/

    This version is a bug fix release[1] on the 2.0 series. As always,
    please pay
    attention to the release notes[2] and Let us know[3] if you were to
    encounter
    any problem.

    Enjoy!

    [1]: http://goo.gl/Rh9gyx (CHANGES.txt)
    [2]: http://goo.gl/k8vIom (NEWS.txt)
    [3]: https://issues.apache.org/jira/browse/CASSANDRA






Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

Michael Shuler
In reply to this post by Michael Shuler
(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
Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

jean paul
./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
Reply | Threaded
Open this post in threaded view
|

Re: [RELEASE] Apache Cassandra 2.0.13 released

jean paul
In reply to this post by jean paul
i restart the system and it displays:
INFO  17:16:54 Starting listening for CQL clients on localhost/127.0.0.1:9042...
INFO  17:16:54 Binding thrift service to localhost/127.0.0.1:9160
INFO  17:16:54 Listening for thrift clients...

!!!
perharps i have to kill the process on the port 9160 when i restart cassandra ...


2015-03-16 18:59 GMT+01:00 jean paul <[hidden email]>:
I have done the same test again but i have errors with the two versions 2.1.3 and 2.0.13

:~/Bureau/apache-cassandra-2.1.3/bin$ ./cassandra -f
CompilerOracle: inline org/apache/cassandra/db/AbstractNativeCell.compareTo (Lorg/apache/cassandra/db/composites/Composite;)I
CompilerOracle: inline org/apache/cassandra/db/composites/AbstractSimpleCellNameType.compareUnsigned (Lorg/apache/cassandra/db/composites/Composite;Lorg/apache/cassandra/db/composites/Composite;)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare (Ljava/nio/ByteBuffer;[B)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare ([BLjava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compareUnsigned (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/lang/Object;JILjava/lang/Object;JI)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/lang/Object;JILjava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
Erreur: Exception envoyée par l'agent : java.lang.NullPointerException

:~/Bureau$ cd apache-cassandra-2.0.13/
:~/Bureau/apache-cassandra-2.0.13$ ./cassandra -f
bash: ./cassandra: Aucun fichier ou dossier de ce type
:~/Bureau/apache-cassandra-2.0.13$ cd bin/
:~/Bureau/apache-cassandra-2.0.13/bin$ ./cassandra -f
Erreur: Exception envoyée par l'agent : java.lang.NullPointerException

perharps i have to do some config before running cassandra ?



2015-03-16 18:38 GMT+01:00 Redmumba <[hidden email]>:
You should probably make a new thread for this.  This is an announcement for a new Cassandra release.

On Mon, Mar 16, 2015 at 10:34 AM, jean paul <[hidden email]> wrote:
OK.
I have tens of nodes in my cluster. i'd like to get the states of these nodes(alive, not etc ..). (it is just a first step to test cassandra)
So, i have downloaded the latest release.

First terminal:

../apache-cassandra-2.1.3/bin$ ./cassandra -f
.............

INFO  17:16:54 Starting listening for CQL clients on localhost/127.0.0.1:9042...
INFO  17:16:54 Binding thrift service to localhost/127.0.0.1:9160
INFO  17:16:54 Listening for thrift clients...

Second terminal:
./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 ?

Best Regards.
Thanks a lot.



2015-03-16 17:55 GMT+01:00 Michael Shuler <[hidden email]>:
2.0.13 is the latest release in the 2.0 branch. There is also the 2.1 branch, which is currently at 2.1.3, and 2.1.4 is under development.

This is all listed on http://cassandra.apache.org/download/ and this question may be best suited for the user mailing list :)

--
Michael

On 03/16/2015 11:34 AM, jean paul wrote:
Hello,

Please, i have a cluster of 10 nodes, so i have to download the last
version of cassandra and install it on each node, that's it ?


Thanks a lot.
Best Regards.

2015-03-16 16:39 GMT+01:00 Jake Luciani <[hidden email]
<mailto:[hidden email]>>:

    Apache Cassandra is a fully distributed database. It is the right choice
    when you need scalability and high availability without compromising
    performance.

    http://cassandra.apache.org/

    Downloads of source and binary distributions are listed in our download
    section:

    http://cassandra.apache.org/download/

    This version is a bug fix release[1] on the 2.0 series. As always,
    please pay
    attention to the release notes[2] and Let us know[3] if you were to
    encounter
    any problem.

    Enjoy!

    [1]: http://goo.gl/Rh9gyx (CHANGES.txt)
    [2]: http://goo.gl/k8vIom (NEWS.txt)
    [3]: https://issues.apache.org/jira/browse/CASSANDRA







Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

jean paul
In reply to this post by jean paul
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 info
Failed to connect to '127.0.0.1:7199': Connexion refusée


2015-03-16 19:50 GMT+01:00 jean paul <[hidden email]>:
./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

Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

jean paul
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 <[hidden email]>:
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 info
Failed to connect to '127.0.0.1:7199': Connexion refusée


2015-03-16 19:50 GMT+01:00 jean paul <[hidden email]>:
./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


Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

Ali Akhtar
https://gist.github.com/aliakhtar/3649e412787034156cbb

Best run from a fresh ubuntu server.

On Tue, Mar 17, 2015 at 12:50 AM, jean paul <[hidden email]> 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 <[hidden email]>:
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 info
Failed to connect to '127.0.0.1:7199': Connexion refusée


2015-03-16 19:50 GMT+01:00 jean paul <[hidden email]>:
./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



Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

Jonathan Haddad
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
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 info
Failed to connect to '127.0.0.1:7199': Connexion refusée


2015-03-16 19:50 GMT+01:00 jean paul <[hidden email]>:
./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
Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

Ali Akhtar
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
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 info
Failed to connect to '127.0.0.1:7199': Connexion refusée


2015-03-16 19:50 GMT+01:00 jean paul <[hidden email]>:
./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

Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

jean paul
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 <[hidden email]>:
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>:
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 info
Failed to connect to '127.0.0.1:7199': Connexion refusée


2015-03-16 19:50 GMT+01:00 jean paul <[hidden email]>:
./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


Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

jean paul
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: (
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.
Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

Ali Akhtar
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 <[hidden email]> 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: (
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.

Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

jean paul
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 <[hidden email]>:
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 <[hidden email]> 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: (
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.


Reply | Threaded
Open this post in threaded view
|

Re: nodetool help

jean paul
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.