Re: Motivation for a DHT ring

2016-12-23 Thread jean paul
Hi all,
Please, i'd like to discuss again this question:
*What is the motivation for choosing a DHT ring in cassandra? Why not use a
normal parallel or distributed file system that supports replication?*
@Utkarsh Sengar:
*Where in the Dynamo paper is such argumentation?*
Did you mean these paragraphs

The Google File System is another distributed file system built for
hosting the state of Google’s internal applications. GFS uses a
simple design with a single master server for hosting the entire
metadata and where the data is split into chunks and stored in
chunkservers.

distributed storage system designed to handle multiple
server failures

  --> *Question: Because of GFS is centralized, cassandra **With fault
tolerance and reliability, gives a faster lookup mechanism across various
nodes in a cluster ?*

Thank you so much for answers. It is very intersting for me.
Kind regards.







2016-06-30 18:49 GMT+01:00 Utkarsh Sengar <utkarsh2...@gmail.com>:

> With fault tolerance and reliability, it also gives a faster lookup
> mechanism across various nodes in a cluster.
> Amazon's dynamo paper might be a better read to understand the reasoning
> behind a DHT based system: http://www.allthingsdistributed.com/
> files/amazon-dynamo-sosp2007.pdf
>
> On Wed, Jun 29, 2016 at 11:48 PM, Jens Rantil <jens.ran...@tink.se> wrote:
>
>> Some reasons I can come up with:
>> - it would be hard to have tunable read/consistencies/replicas when
>> interfacing with a file system.
>> - data locality support would require strong coupling to the distributed
>> file system interface (if at all possible given that certain sstables
>> should live on the same data node).
>> - operator complexity both administering a distributed file system as
>> well as a Cassandra cluster. This was a personal reason why I chose
>> Cassandra instead of HBase for a project.
>>
>> Cheers,
>> Jens
>>
>> Den ons 29 juni 2016 13:01jean paul <researche...@gmail.com> skrev:
>>
>>>
>>>
>>> 2016-06-28 22:29 GMT+01:00 jean paul <researche...@gmail.com>:
>>>
>>>> Hi all,
>>>>
>>>> Please, What is the motivation for choosing a DHT ring in cassandra?
>>>> Why not use a normal parallel or distributed file system that supports
>>>> replication?
>>>>
>>>> Thank you so much for clarification.
>>>>
>>>> Kind regards.
>>>>
>>>
>>> --
>>
>> Jens Rantil
>> Backend Developer @ Tink
>>
>> Tink AB, Wallingatan 5, 111 60 Stockholm, Sweden
>> For urgent matters you can reach me at +46-708-84 18 32.
>>
>
>
>
> --
> Thanks,
> -Utkarsh
>


Re: All nodes hosting replicas down

2016-12-18 Thread jean paul
Thank you so much for answer.

So, in case of a high failure rate in my cluster, i have to increase the
replication factor or i have to use NetworkToplogy Strategy ?
That's it ?

Kindly.


2016-12-18 20:23 GMT+01:00 Matija Gobec <matija0...@gmail.com>:

> If you are reading and none of the replicas is online you will get an
> exception on the read (tried x replicas but 0 responded) and your read will
> fail. Writes on the other hand are going to go through only if your write
> consistency is ANY. If your write consistency is ONE or anything upwards,
> then it will fail too.
>
> On Sun, Dec 18, 2016 at 7:47 PM, jean paul <researche...@gmail.com> wrote:
>
>> Hi,
>>
>> Please, if we choose a replication factor =2 (simple strategy), so, we
>> have two replicas of data on the ring.
>>
>> What happen in the case of all nodes containing replicas are down ?
>>
>>
>> Thank you so much for help.
>>
>> Kind regards.
>>
>
>


All nodes hosting replicas down

2016-12-18 Thread jean paul
Hi,

Please, if we choose a replication factor =2 (simple strategy), so, we have
two replicas of data on the ring.

What happen in the case of all nodes containing replicas are down ?


Thank you so much for help.

Kind regards.


Re: Scalability of Gossip protocol

2016-08-28 Thread jean paul
Hi, thank you so much for help.
Please is there a scientific study that evaluates the* scalability* of
Cassandra? Bests.

2016-08-16 20:15 GMT+01:00 Jeff Jirsa <jeff.ji...@crowdstrike.com>:

> Jason Brown has an interesting set of tickets:
>
>
>
> https://issues.apache.org/jira/browse/CASSANDRA-12345
>
>
>
> One of the sub-tickets there is https://issues.apache.org/
> jira/browse/CASSANDRA-12347
>
>
>
> That ticket links to a relevant paper on the subject (and an alternative
> to the existing approach): http://www.gsd.inesc-id.pt/~
> jleitao/pdf/srds10-mario.pdf
>
>
>
>
>
>
>
> *From: *jean paul <researche...@gmail.com>
> *Reply-To: *"user@cassandra.apache.org" <user@cassandra.apache.org>
> *Date: *Tuesday, August 16, 2016 at 12:07 PM
> *To: *"user@cassandra.apache.org" <user@cassandra.apache.org>
> *Subject: *Scalability of Gossip protocol
>
>
>
> Hi all;
>
> Please is there a scientific study that evaluates the scalability of
> Gossip protocol ?
>
> Thank you so much for help
>
> Kind regards.
>
>
>


lack of space for replicas

2016-08-18 Thread jean paul
Hi,


The distributed replicas take space. Is there a scenario when a new
replicas cannot be stored on a node due to lack of space? If we choose a
replication factor =3, and we can find a space for the third replicas, how
cassandra treats this case. Please, where can i find the algorithm ?


Thank you so much for help.
Kind regards.


Scalability of Gossip protocol

2016-08-16 Thread jean paul
Hi all;

Please is there a scientific study that evaluates the scalability of Gossip
protocol ?

Thank you so much for help
Kind regards.


Re: Question nodetool status

2016-08-11 Thread jean paul
Hi, thanks a lot for answer :)

Gossip is a peer-to-peer communication protocol in which nodes periodically
exchange state information about themselves and about other nodes they know
about.

unreachableNodes = probe.getUnreachableNodes();   --->  i.e if node don't
publish heartbeats on x seconds (using gossip protocol), it's therefore
marked 'DN: down' ?


That's it?





2016-08-11 13:51 GMT+01:00 Romain Hardouin <romainh...@yahoo.fr>:

> Hi Jean Paul,
>
> Yes, the gossiper is used. Example with down nodes:
> 1. The status command retrieve unreachable nodes from a NodeProbe
> instance: https://github.com/apache/cassandra/blob/trunk/
> src/java/org/apache/cassandra/tools/nodetool/Status.java#L64
> 2. The NodeProbe list comes from a StorageService proxy:
> https://github.com/apache/cassandra/blob/trunk/src/java/
> org/apache/cassandra/tools/NodeProbe.java#L438
> 3. The proxy calls the Gossiper singleton: https://github.com/
> apache/cassandra/blob/trunk/src/java/org/apache/cassandra/
> service/StorageService.java#L2681
>
> Best,
>
> Romain
>
> Le Jeudi 11 août 2016 14h16, jean paul <researche...@gmail.com> a écrit :
>
>
> Hi all,
>
>
>
> *$nodetool status*Datacenter: datacenter1
> ===
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/ Moving
> --  AddressLoad   Tokens  Owns (effective)  Host
> IDRack
>
>
> *UN  127.0.0.1  83.05 KB   256 100.0%
> 460ddcd9-1ee8-48b8-a618- c076056aad07  rack1*
> *The nodetool command* shows the status of the node (UN=up, DN=down):
>
> Please i'd like to know how this command works and is it based on gossip
> protocol or not ?
>
> Thank you so much for explanations.
> Best regards.
>
>
>
>
>


Question nodetool status

2016-08-11 Thread jean paul
Hi all,



*$nodetool status*Datacenter: datacenter1
===
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  AddressLoad   Tokens  Owns (effective)  Host
ID   Rack


*UN  127.0.0.1  83.05 KB   256 100.0%
460ddcd9-1ee8-48b8-a618-c076056aad07  rack1*

*The nodetool command* shows the status of the node (UN=up, DN=down):


Please i'd like to know how this command works and is it based on gossip
protocol or not ?


Thank you so much for explanations.

Best regards.


Re: Gossip Threshold

2016-07-25 Thread jean paul
As i find in cassandra Documentation, the gossip process runs every second.
Please, why you have chosen  'running it *every second'* ?

Thanks a lot.

2016-07-25 13:12 GMT+01:00 jean paul <researche...@gmail.com>:

> Hi all;
>
> I have used Apache Cassandra version 2.1.6 for my experiments.
>
> Please, what is the gossip delay or threshold ? The gossip process is
> running every . seconds ?
>
>
> Thank you so much for help.
> Kind regards.
>


Gossip Threshold

2016-07-25 Thread jean paul
Hi all;

I have used Apache Cassandra version 2.1.6 for my experiments.

Please, what is the gossip delay or threshold ? The gossip process is
running every . seconds ?


Thank you so much for help.
Kind regards.


Re: Motivation for a DHT ring

2016-06-29 Thread jean paul
2016-06-28 22:29 GMT+01:00 jean paul <researche...@gmail.com>:

> Hi all,
>
> Please, What is the motivation for choosing a DHT ring in cassandra? Why
> not use a normal parallel or distributed file system that supports
> replication?
>
> Thank you so much for clarification.
>
> Kind regards.
>


Motivation for a DHT ring

2016-06-28 Thread jean paul
Hi all,

Please, What is the motivation for choosing a DHT ring in cassandra? Why
not use a normal parallel or distributed file system that supports
replication?

Thank you so much for clarification.

Kind regards.


Re: Store data with cassandra

2015-03-20 Thread jean paul
I have used this tutoriel to create my data base
http://planetcassandra.org/insert-select-records/

/var/lib/cassandra/data# ls
demo  system  system_traces
:/var/lib/cassandra/data# cd demo/
:/var/lib/cassandra/data/demo# ls
users
:/var/lib/cassandra/data/demo# cd users/
:/var/lib/cassandra/data/demo/users# ls
:/var/lib/cassandra/data/demo/users#

i find nothing in /var/lib/cassandra/data/demo/users!


2015-03-20 13:06 GMT+01:00 jean paul researche...@gmail.com:

 Hello All;
 Please,
 i have created this table.

 lastname | age | city  | email   | firstname
 --+-+---+-+---
 Doe |  36 | Beverly Hills |   jane...@email.com |  Jane Byrne |  24
 | San Diego |  robby...@email.com |   Rob Smith |  46 |
 Sacramento
 | johnsm...@email.com |  John

 So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



 My end goal is to store a file with cassandra and to see on which node my
 file is stored ?

 thanks a lot for help
 Best Regards.



Re: Store data with cassandra

2015-03-20 Thread jean paul
What about this so
http://www.datastax.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-10-at-11.21.55-AM.png
i read also some documents about storing blob with cassandra !!



2015-03-20 15:04 GMT+01:00 Michael Dykman mdyk...@gmail.com:

 You seem to be missing the point here.

 Cassandra does not manage files, it manages data in a highly distributed
 cluster.  If you are attempting to manage files, you are quite simply using
 the wrong tool and Cassandra is not for you.

 On Fri, Mar 20, 2015 at 9:10 AM, jean paul researche...@gmail.com wrote:

 I have used this tutoriel to create my data base
 http://planetcassandra.org/insert-select-records/

 /var/lib/cassandra/data# ls
 demo  system  system_traces
 :/var/lib/cassandra/data# cd demo/
 :/var/lib/cassandra/data/demo# ls
 users
 :/var/lib/cassandra/data/demo# cd users/
 :/var/lib/cassandra/data/demo/users# ls
 :/var/lib/cassandra/data/demo/users#

 i find nothing in /var/lib/cassandra/data/demo/users!


 2015-03-20 13:06 GMT+01:00 jean paul researche...@gmail.com:

 Hello All;
 Please,
 i have created this table.

 lastname | age | city  | email   | firstname
 --+-+---+-+---
 Doe |  36 | Beverly Hills |   jane...@email.com |  Jane Byrne |
   24 | San Diego |  robby...@email.com |   Rob Smith |  46 |
 Sacramento | johnsm...@email.com |  John

 So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



 My end goal is to store a file with cassandra and to see on which node
 my file is stored ?

 thanks a lot for help
 Best Regards.





 --
  - michael dykman
  - mdyk...@gmail.com

  May the Source be with you.



Re: Store data with cassandra

2015-03-20 Thread jean paul
 i'd like to store MyFile.txt using cassandra (replicat = 2) and see on
what node the file and its replicas  are stored on my cluster of 10 nodes
it is a simple file with simple content (text)

is that possible ?

2015-03-20 16:44 GMT+01:00 Ali Akhtar ali.rac...@gmail.com:

 The files you store have to personally be vetted by the cassandra
 community. Only if they're found to not contain anything inappropriate,
 does cassandra let you store them. (A 3/4 majority vote is necessary).

 Please send your files for approval to j...@reallycereal.com

 On Fri, Mar 20, 2015 at 8:41 PM, jean paul researche...@gmail.com wrote:

 What about this so
 http://www.datastax.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-10-at-11.21.55-AM.png
 i read also some documents about storing blob with cassandra !!



 2015-03-20 15:04 GMT+01:00 Michael Dykman mdyk...@gmail.com:

 You seem to be missing the point here.

 Cassandra does not manage files, it manages data in a highly distributed
 cluster.  If you are attempting to manage files, you are quite simply using
 the wrong tool and Cassandra is not for you.

 On Fri, Mar 20, 2015 at 9:10 AM, jean paul researche...@gmail.com
 wrote:

 I have used this tutoriel to create my data base
 http://planetcassandra.org/insert-select-records/

 /var/lib/cassandra/data# ls
 demo  system  system_traces
 :/var/lib/cassandra/data# cd demo/
 :/var/lib/cassandra/data/demo# ls
 users
 :/var/lib/cassandra/data/demo# cd users/
 :/var/lib/cassandra/data/demo/users# ls
 :/var/lib/cassandra/data/demo/users#

 i find nothing in /var/lib/cassandra/data/demo/users!


 2015-03-20 13:06 GMT+01:00 jean paul researche...@gmail.com:

 Hello All;
 Please,
 i have created this table.

 lastname | age | city  | email   | firstname
 --+-+---+-+---
Doe |  36 | Beverly Hills |   jane...@email.com |  Jane
 Byrne |  24 | San Diego |  robby...@email.com |   Rob
 Smith |  46 |Sacramento | johnsm...@email.com |  John

 So, my question, where this data is saved ? in
 ./var/lib/cassandra/data ?



 My end goal is to store a file with cassandra and to see on which
 node my file is stored ?

 thanks a lot for help
 Best Regards.





 --
  - michael dykman
  - mdyk...@gmail.com

  May the Source be with you.






Store data with cassandra

2015-03-20 Thread jean paul
Hello All;
Please,
i have created this table.

lastname | age | city  | email   | firstname
--+-+---+-+---
Doe |  36 | Beverly Hills |   jane...@email.com |  Jane Byrne |  24
| San Diego |  robby...@email.com |   Rob Smith |  46 |
Sacramento
| johnsm...@email.com |  John

So, my question, where this data is saved ? in ./var/lib/cassandra/data ?



My end goal is to store a file with cassandra and to see on which node my
file is stored ?

thanks a lot for help
Best Regards.


Re: Store data with cassandra

2015-03-20 Thread jean paul

 Please, can you explain details in this two links:

 https://wiki.apache.org/cassandra/FAQ#large_file_and_blob_storage


http://stackoverflow.com/questions/9219222/how-to-store-small-files-in-cassandra


Re: Store data with cassandra

2015-03-20 Thread jean paul

 Please, can you explain details in this two links:

 https://wiki.apache.org/cassandra/FAQ#large_file_and_blob_storage


http://stackoverflow.com/questions/9219222/how-to-store-small-files-in-cassandra

2015-03-20 17:07 GMT+01:00 Sibbald, Charles charles.sibb...@bskyb.com:

  Sounds like this is a job for jackrabbit ?
 http://jackrabbit.apache.org


   From: Ali Akhtar ali.rac...@gmail.com
 Reply-To: user@cassandra.apache.org user@cassandra.apache.org
 Date: Friday, 20 March 2015 15:58
 To: user@cassandra.apache.org user@cassandra.apache.org
 Subject: Re: Store data with cassandra

   ( I apologize, I'm only joking. To answer your question, Cassandra
 tends to cache the first 300MB or so of data in memory, only when it grows
 beyond that does it start to write it to files. But, Cassandra is not the
 write choice for storing files. In the screenshot you linked, its only
 storing the filenames, not the actual contents of the files).

 On Fri, Mar 20, 2015 at 8:54 PM, Ali Akhtar ali.rac...@gmail.com wrote:

 It has been decided that the file cannot be allowed to be stored, sorry.
 However, if a sacrifice to the gods is prepared, it may be possible to
 change things.

 On Fri, Mar 20, 2015 at 8:49 PM, jean paul researche...@gmail.com
 wrote:

  i'd like to store MyFile.txt using cassandra (replicat = 2) and see on
 what node the file and its replicas  are stored on my cluster of 10
 nodes
  it is a simple file with simple content (text)

  is that possible ?

 2015-03-20 16:44 GMT+01:00 Ali Akhtar ali.rac...@gmail.com:

 The files you store have to personally be vetted by the cassandra
 community. Only if they're found to not contain anything inappropriate,
 does cassandra let you store them. (A 3/4 majority vote is necessary).

  Please send your files for approval to j...@reallycereal.com

 On Fri, Mar 20, 2015 at 8:41 PM, jean paul researche...@gmail.com
 wrote:

  What about this so
 http://www.datastax.com/wp-content/uploads/2012/02/Screen-Shot-2012-02-10-at-11.21.55-AM.png
  i read also some documents about storing blob with cassandra !!



 2015-03-20 15:04 GMT+01:00 Michael Dykman mdyk...@gmail.com:

  You seem to be missing the point here.

  Cassandra does not manage files, it manages data in a highly
 distributed cluster.  If you are attempting to manage files, you are 
 quite
 simply using the wrong tool and Cassandra is not for you.

 On Fri, Mar 20, 2015 at 9:10 AM, jean paul researche...@gmail.com
 wrote:

  I have used this tutoriel to create my data base
 http://planetcassandra.org/insert-select-records/

 /var/lib/cassandra/data# ls
 demo  system  system_traces
 :/var/lib/cassandra/data# cd demo/
 :/var/lib/cassandra/data/demo# ls
 users
 :/var/lib/cassandra/data/demo# cd users/
 :/var/lib/cassandra/data/demo/users# ls
 :/var/lib/cassandra/data/demo/users#

  i find nothing in /var/lib/cassandra/data/demo/users!


 2015-03-20 13:06 GMT+01:00 jean paul researche...@gmail.com:

 Hello All;
 Please,
 i have created this table.

  lastname | age | city  | email   | firstname
 --+-+---+-+---
Doe |  36 | Beverly Hills |  jane...@email.com |  Jane
Byrne |  24 | San Diego |  robby...@email.com |   Rob
Smith |  46 |Sacramento | johnsm...@email.com |  John

  So, my question, where this data is saved ? in
 ./var/lib/cassandra/data ?



 My end goal is to store afile with cassandra and to see on which
 node my file is stored ?

  thanks a lot for help
  Best Regards.





   --
  - michael dykman
  - mdyk...@gmail.com

  May the Source be with you.






   Information in this email including any attachments may be privileged,
 confidential and is intended exclusively for the addressee. The views
 expressed may not be official policy, but the personal views of the
 originator. If you have received it in error, please notify the sender by
 return e-mail and delete it from your system. You should not reproduce,
 distribute, store, retransmit, use or disclose its contents to anyone.
 Please note we reserve the right to monitor all e-mail communication
 through our internal and external networks. SKY and the SKY marks are
 trademarks of Sky plc and Sky International AG and are used under licence.
 Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited
 (Registration No. 2067075) and Sky Subscribers Services Limited
 (Registration No. 2340150) are direct or indirect subsidiaries of Sky plc
 (Registration No. 2247735). All of the companies mentioned in this
 paragraph are incorporated in England and Wales and share the same
 registered office at Grant Way, Isleworth, Middlesex TW7 5QD.



Seed Node

2015-03-19 Thread jean paul
Hello All,

Please,i have a question a bout the seed node.. as i read it is the
bootstrap node, each new node joins the seed node  that's it?
if it leaves the cluster, how can a new node joins the rest of the group ?

Thanks a lot for answer.
Best Regards.


Saving a file using cassandra

2015-03-18 Thread jean paul
Hello,

Finally, i have created my ring using cassandra.
Please, i'd like to store a file replicated 2 times in my cluster.
is that possible ? can you please send me a link for a tutorial ?


Thanks a lot.
Best Regards.


Re: nodetool help

2015-03-17 Thread 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
--  AddressLoad   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 ali.rac...@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 j...@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 ali.rac...@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 researche...@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 researche...@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 researche...@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: Begginer with cassandra Apache - Gossip

2015-03-17 Thread jean paul
Hello, thanks a lot for your help :)

i try to find answers to these questions:

*Second Terminal:*

$nodetool join
This node has already joined the ring.

$nodetool status
Datacenter: datacenter1
===
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  AddressLoad   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 have already posted this question on another thread.

Bests.


2015-03-16 21:50 GMT+01:00 Akhil Mehra akhilme...@gmail.com:

 Hi Jean,

 I see you are getting a lot of help on other threads. Can you please
 elaborate a bit more on the problem you are trying to solve. Would nodetool
 status help (
 http://www.datastax.com/documentation/cassandra/2.0/cassandra/tools/toolsStatus.html
 )

 Not sure why you trying to dig into the code?

 Cheers,
 Akhil

 On 17/03/2015, at 12:00 am, jean paul researche...@gmail.com wrote:

 Hello :) Thanks a lot for you help :)

 Please, i have another question about gossip and failure detection.
 i'd like to test step by step all components in cassandra. i'd like to
 test first of all gossip protocol
 https://wiki.apache.org/cassandra/ArchitectureGossip  and the failure
 detection

 I have tens of nodes in my cluster. i'd like to get the states of these
 nodes(alive, not etc ..)  My problem is that I do not know how to start.
 Can you guide me please a litte bit ?

 Step 1: i have to download all codes in gms
 https://github.com/apache/cassandra/tree/trunk/src/java/org/apache/cassandra/gms
 ? that's it ?
 




 Thank you so much for help. i'd like to know how to start please :)
 Best regards.

 2015-03-15 23:44 GMT+01:00 Akhil Mehra akhilme...@gmail.com:

 Hi Jean,

 Check our the following urls:


 https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/gms/
 https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/gms/Gossiper.java

 https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/gms/Gossiper.java

 Is this what your were looking for. I hope this helps.

 Cheers,
 Akhil


 On 16/03/2015, at 10:43 am, jean paul researche...@gmail.com wrote:

 Ok i will read all documents :) thanks a lot for help :)
 Please, can i you send me some details (url of source code) about the
 implementation of gossip protocol used in cassandra ? thanks a lot for help
 :)
 i find this https://github.com/bpot/node-gossip

 ?

 Bests.

 2015-03-15 22:38 GMT+01:00 Akhil Mehra akhilme...@gmail.com:

 Hi Jean,

 I have written three article that might be of help to you:

 http://abiasforaction.net/an-introduction-to-apache-cassandra/

 http://abiasforaction.net/cassandra-architecture/


 http://abiasforaction.net/a-practical-introduction-to-cassandra-query-language/

 These three should help you get started. Feedback will be highly
 appreciated. I am looking to know if these article helped you understand
 Cassandra fundamentals better.

 I would also highly recommend the tutorials on the Datastax site:

 http://www.datastax.com/resources/tutorials

 I hope this helps.

 Cheers,
 Akhil

 On 16/03/2015, at 8:13 am, jean paul researche...@gmail.com wrote:

 Hello All,

 Please, i'm newer with cassandra Apache. i'm sooo interested.  i know
 some details about its architecture, some details also about gossip
 protocol.

 I'd like to test it, to more understand :) i ask if there is a howto
 tutorial that can help me ?

 Thanks a lot for help.
 Best Regards.









Re: nodetool help

2015-03-17 Thread 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
--  AddressLoad   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.91156.04 KB  256 12.4%
e1a33ed4-d613-47a6-8b3b-325650a2bbd4  RAC1
UN  192.168.2.92156.22 KB  256 13.6%
3a4a086c-36a6-4d69-8b61-864ff37d03c9  RAC1
UN  192.168.2.93149.6 KB   256 11.3%
20decc72-8d0a-4c3b-8804-cc8bc98fa9e8  RAC1



Thanks a lot for help.
Best Regards.


Re: nodetool help

2015-03-17 Thread 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.


Re: nodetool help

2015-03-17 Thread 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 ali.rac...@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 researche...@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
 --  AddressLoad   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.91156.04 KB  256 12.4%  
 e1a33ed4-d613-47a6-8b3b-325650a2bbd4  RAC1
 UN  192.168.2.92156.22 KB  256 13.6%  
 3a4a086c-36a6-4d69-8b61-864ff37d03c9  RAC1
 UN  192.168.2.93149.6 KB   256 11.3%  
 20decc72-8d0a-4c3b-8804-cc8bc98fa9e8  RAC1



 Thanks a lot for help.
 Best Regards.





Re: [RELEASE] Apache Cassandra 2.0.13 released

2015-03-16 Thread 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 j...@apache.org:

 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



Re: [RELEASE] Apache Cassandra 2.0.13 released

2015-03-16 Thread 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 mich...@pbandjelly.org:

 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 j...@apache.org
 mailto:j...@apache.org:

 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






Re: nodetool help

2015-03-16 Thread 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


Re: [RELEASE] Apache Cassandra 2.0.13 released

2015-03-16 Thread 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 researche...@gmail.com:

 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 redmu...@gmail.com:

 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 researche...@gmail.com
 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 mich...@pbandjelly.org:

 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 j...@apache.org
 mailto:j...@apache.org:

 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









Re: nodetool help

2015-03-16 Thread 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 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 researche...@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: Begginer with cassandra Apache - Gossip

2015-03-16 Thread jean paul
Hello :) Thanks a lot for you help :)

Please, i have another question about gossip and failure detection.
i'd like to test step by step all components in cassandra. i'd like to test
first of all gossip protocol
https://wiki.apache.org/cassandra/ArchitectureGossip  and the failure
detection

I have tens of nodes in my cluster. i'd like to get the states of these
nodes(alive, not etc ..)  My problem is that I do not know how to start.
Can you guide me please a litte bit ?

Step 1: i have to download all codes in gms
https://github.com/apache/cassandra/tree/trunk/src/java/org/apache/cassandra/gms
? that's it ?





Thank you so much for help. i'd like to know how to start please :)
Best regards.

2015-03-15 23:44 GMT+01:00 Akhil Mehra akhilme...@gmail.com:

 Hi Jean,

 Check our the following urls:


 https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/gms/
 https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/gms/Gossiper.java

 https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/gms/Gossiper.java

 Is this what your were looking for. I hope this helps.

 Cheers,
 Akhil


 On 16/03/2015, at 10:43 am, jean paul researche...@gmail.com wrote:

 Ok i will read all documents :) thanks a lot for help :)
 Please, can i you send me some details (url of source code) about the
 implementation of gossip protocol used in cassandra ? thanks a lot for help
 :)
 i find this https://github.com/bpot/node-gossip

 ?

 Bests.

 2015-03-15 22:38 GMT+01:00 Akhil Mehra akhilme...@gmail.com:

 Hi Jean,

 I have written three article that might be of help to you:

 http://abiasforaction.net/an-introduction-to-apache-cassandra/

 http://abiasforaction.net/cassandra-architecture/


 http://abiasforaction.net/a-practical-introduction-to-cassandra-query-language/

 These three should help you get started. Feedback will be highly
 appreciated. I am looking to know if these article helped you understand
 Cassandra fundamentals better.

 I would also highly recommend the tutorials on the Datastax site:

 http://www.datastax.com/resources/tutorials

 I hope this helps.

 Cheers,
 Akhil

 On 16/03/2015, at 8:13 am, jean paul researche...@gmail.com wrote:

 Hello All,

 Please, i'm newer with cassandra Apache. i'm sooo interested.  i know
 some details about its architecture, some details also about gossip
 protocol.

 I'd like to test it, to more understand :) i ask if there is a howto
 tutorial that can help me ?

 Thanks a lot for help.
 Best Regards.







Re: nodetool help

2015-03-16 Thread 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 researche...@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 researche...@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





Begginer with cassandra Apache - Gossip

2015-03-15 Thread jean paul
Hello All,

Please, i'm newer with cassandra Apache. i'm sooo interested.  i know some
details about its architecture, some details also about gossip protocol.

I'd like to test it, to more understand :) i ask if there is a howto
tutorial that can help me ?

Thanks a lot for help.
Best Regards.


Re: Begginer with cassandra Apache - Gossip

2015-03-15 Thread jean paul
Ok i will read all documents :) thanks a lot for help :)
Please, can i you send me some details (url of source code) about the
implementation of gossip protocol used in cassandra ? thanks a lot for help
:)
i find this https://github.com/bpot/node-gossip

?

Bests.

2015-03-15 22:38 GMT+01:00 Akhil Mehra akhilme...@gmail.com:

 Hi Jean,

 I have written three article that might be of help to you:

 http://abiasforaction.net/an-introduction-to-apache-cassandra/

 http://abiasforaction.net/cassandra-architecture/


 http://abiasforaction.net/a-practical-introduction-to-cassandra-query-language/

 These three should help you get started. Feedback will be highly
 appreciated. I am looking to know if these article helped you understand
 Cassandra fundamentals better.

 I would also highly recommend the tutorials on the Datastax site:

 http://www.datastax.com/resources/tutorials

 I hope this helps.

 Cheers,
 Akhil

 On 16/03/2015, at 8:13 am, jean paul researche...@gmail.com wrote:

 Hello All,

 Please, i'm newer with cassandra Apache. i'm sooo interested.  i know some
 details about its architecture, some details also about gossip protocol.

 I'd like to test it, to more understand :) i ask if there is a howto
 tutorial that can help me ?

 Thanks a lot for help.
 Best Regards.





Cassandra partitioning and limit

2014-01-24 Thread Jean Paul Adant
Hi all

I'm using cassandra 1.1.9
I have this columnFamily, created with hector API. Here is its cql2
descrition.


CREATE TABLE TDF (
  KEY bigint PRIMARY KEY
) WITH
  comment='' AND

comparator='CompositeType(org.apache.cassandra.db.marshal.LongType,org.apache.cassandra.db.marshal.LongType,org.apache.cassandra.db.marshal.LongType,org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type)'
AND
  read_repair_chance=1.00 AND
  gc_grace_seconds=864000 AND
  default_validation=text AND
  min_compaction_threshold=4 AND
  max_compaction_threshold=32 AND
  replicate_on_write='true' AND
  compaction_strategy_class='SizeTieredCompactionStrategy' AND
  compression_parameters:sstable_compression='SnappyCompressor';


- I must insert a lot of sorted data (about 100 per second) and i'm using
composite keys as column name.
- Almost all datas are written on columns under the same row key


Question?
I understand row partitioning, and understood that all columns will be on
the same row, so on the same partitioner (so on the same machine)
As columnsFamilies have limitations of 2 billions cells per partitioner,
 will the CF limited to 2 billions entries?

Thanks!

note: my english is not so good, feel free to ask me questions if needed



-- 
-
Jean Paul Adant - Créative-Ingénierie
jean.paul.ad...@gmail.com


Re: Nodes marked dead…. leap second?

2012-07-02 Thread Jean Paul Adant
Hi,

I did have the same problem with cassandra 1.1.1 on Ubuntu 11.10
I had to reboot all nodes
I'm interested in any information about this.

Thanks

Jean Paul

2012/7/2 Filippo Diotalevi fili...@ntoklo.com

  Hi,
 we had some really weird issues during the weekend, with our cassandra
 nodes starting marking as dead other (working) nodes in the cluster. That
 happened all Sunday, and it's still happening. Node are marked dead and up
 all the time….

 Some example logs:

 INFO [GossipTasks:1] 2012-07-02 06:55:01,804 Gossiper.java (line 818)
 InetAddress /xx.xx.xx.233 is now dead.
 INFO [GossipTasks:1] 2012-07-02 06:55:01,805 Gossiper.java (line 818)
 InetAddress /xx.xx.xx.235 is now dead.
 INFO [GossipStage:1] 2012-07-02 06:55:21,748 Gossiper.java (line 804)
 InetAddress /xx.xx.xx.233 is now UP
 INFO [GossipStage:1] 2012-07-02 06:55:21,893 Gossiper.java (line 804)
 InetAddress /xx.xx.xx.235 is now UP
 INFO [GossipTasks:1] 2012-07-02 06:56:03,877 Gossiper.java (line 818)
 InetAddress /xx.xx.xx.235 is now dead.
 INFO [GossipTasks:1] 2012-07-02 06:57:58,537 Gossiper.java (line 818)
 InetAddress /xx.xx.xx.233 is now dead.
 INFO [GossipStage:1] 2012-07-02 06:59:06,444 Gossiper.java (line 804)
 InetAddress /xx.xx.xx.233 is now UP


 I couldn't find any real exception in the logs, but I noticed that the
 first error occurred at
  INFO [GossipTasks:1] 2012-07-01 02:00:31,169 Gossiper.java (line 818)
 InetAddress /xx.xx.xx.234 is now dead.

 2012-07-01 02:00:31,169, in the German timezone were the machine is
 hosted, is June 30th 23:59:60 UTC, the leap second that caused quite a few
 issues this weekend.

 Can it be the cause of the cluster failure? Has anybody noticed similar
 issues? ( also see
 https://twitter.com/redditstatus/status/219244389044731904 )

 I'm running Ubuntu 10.04.3 LTS.

 Many thanks,
 --
 Filippo Diotalevi




-- 
-
Jean Paul Adant - Créative-Ingénierie
jean.paul.ad...@gmail.com