nodetool getendpoints options

2015-07-20 Thread Thouraya TH
Hi all,

Please, is that possible to change this command:

nodetool getendpoints MyKeyspace MyTable text
10.147.243.4
10.147.243.5

to

nodetool getendpoints MyKeyspace MyTable text=Hello  ?

is there a solution to get more details about mes rows ?

Thanks a lot.
Best Regards.


Re: nodetool getendpoints options

2015-07-20 Thread Thouraya TH
Please, what is the difference between 1) and 2)
http://pastie.org/private/ydziir2376ru58ywrjq


Bests.

2015-07-20 12:55 GMT+01:00 Thouraya TH thouray...@gmail.com:

 Hi all,

 Please, is that possible to change this command:

 nodetool getendpoints MyKeyspace MyTable text
 10.147.243.4
 10.147.243.5

 to

 nodetool getendpoints MyKeyspace MyTable text=Hello  ?

 is there a solution to get more details about mes rows ?

 Thanks a lot.
 Best Regards.







Re: nodetool getendpoints options

2015-07-20 Thread Thouraya TH
ok..
Can you please explain me what mean these ip address ? what contain these
machines ? Bests.

./nodetool getendpoints Mykeyspace Mytable 'gv8'
172.16.64.43
172.16.64.42
./nodetool getendpoints Mykeyspace Mytable 'gv4'
172.16.64.41
172.16.65.1
./nodetool getendpoints Mykeyspace Mytable 'gv1'
172.16.64.42
172.16.65.1



2015-07-20 16:16 GMT+01:00 Ken Hancock ken.hanc...@schange.com:

 There is no difference.

 In #2, I'm guessing you're confusing using some of the column names as
 keys.  You could also do getendpoints Mykeyspace Mytable 'foo' and
 Mykeyspace Mytable 'bar'

 getendpoints does not require any data in your column family to function;
 it only requires a schema for the column family so it can convert the 3rd
 argument into the native representation in order to hash it.  That hash and
 the token/vnode ownership range for each node in the cluster determines
 which node owns that specific key.  The replication factor (from the
 keyspace argument) along with the topology determines which additional
 nodes own replicas of that key.

 Since each getendpoints query returned two nodes, that indicates your
 keyspaces has RF=2 (also the fact that the sum of your ring has 200%
 ownership indicates RF=2).




 On Mon, Jul 20, 2015 at 10:38 AM, Thouraya TH thouray...@gmail.com
 wrote:

 Please, what is the difference between 1) and 2)
 http://pastie.org/private/ydziir2376ru58ywrjq


 Bests.

 2015-07-20 12:55 GMT+01:00 Thouraya TH thouray...@gmail.com:

 Hi all,

 Please, is that possible to change this command:

 nodetool getendpoints MyKeyspace MyTable text
 10.147.243.4
 10.147.243.5

 to

 nodetool getendpoints MyKeyspace MyTable text=Hello  ?

 is there a solution to get more details about mes rows ?

 Thanks a lot.
 Best Regards.










Re: nodetool getendpoints options

2015-07-20 Thread Ken Hancock
There is no difference.

In #2, I'm guessing you're confusing using some of the column names as
keys.  You could also do getendpoints Mykeyspace Mytable 'foo' and
Mykeyspace Mytable 'bar'

getendpoints does not require any data in your column family to function;
it only requires a schema for the column family so it can convert the 3rd
argument into the native representation in order to hash it.  That hash and
the token/vnode ownership range for each node in the cluster determines
which node owns that specific key.  The replication factor (from the
keyspace argument) along with the topology determines which additional
nodes own replicas of that key.

Since each getendpoints query returned two nodes, that indicates your
keyspaces has RF=2 (also the fact that the sum of your ring has 200%
ownership indicates RF=2).



On Mon, Jul 20, 2015 at 10:38 AM, Thouraya TH thouray...@gmail.com wrote:

 Please, what is the difference between 1) and 2)
 http://pastie.org/private/ydziir2376ru58ywrjq


 Bests.

 2015-07-20 12:55 GMT+01:00 Thouraya TH thouray...@gmail.com:

 Hi all,

 Please, is that possible to change this command:

 nodetool getendpoints MyKeyspace MyTable text
 10.147.243.4
 10.147.243.5

 to

 nodetool getendpoints MyKeyspace MyTable text=Hello  ?

 is there a solution to get more details about mes rows ?

 Thanks a lot.
 Best Regards.