You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Tim Dunphy <bl...@gmail.com> on 2015/01/18 04:22:29 UTC
who owns the data?
Hey all,
I've setup a 3 node cassandra ring. All the nodes are reporting in and
appear to be working correctly. I have an RF setting of 3.
However under the 'Owns' category all, all that I see if a '?'.
[root@beta-new:~] #nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns Host ID
Rack
UN xx.xx.xx.xx 227.99 KB 256 ?
97c6e976-8cad-4f39-af21-00360f091b37 rack1
UN xx.xx.xx.xx 269.4 KB 256 ?
7014cf67-4632-41ee-b4f3-454874c3b402 rack1
UN xx.xx.xx.xx 422.91 KB 256 ?
14f0efab-3ca5-43f3-9576-b9054c5a2557 rack1
I was just wondering if this might mean I have a configuration error in my
cassandra.yaml file. How can I see the % of data owned by each node?
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Re: who owns the data?
Posted by Tim Dunphy <bl...@gmail.com>.
>
> Try running
> Nodetool status system
> By specifying a keyspace (system) in the command, you should get more
> meaningful results. Using the command on keyspaces as you dev/test/etc
> will provide real results.
Thank you Colin! That was the answer. When I run
[root@beta-new:~] #nodetool status joke_fire1
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID
Rack
UN 162.243.60.6 293.6 KB 256 100.0%
97c6e976-8cad-4f39-af21-00360f091b37 rack1
UN 104.131.199.203 270.26 KB 256 100.0%
7014cf67-4632-41ee-b4f3-454874c3b402 rack1
UN 162.243.109.94 385.8 KB 256 100.0%
14f0efab-3ca5-43f3-9576-b9054c5a2557 rack1
On my own keyspace I do see the % owned.
Doing the same on the system keyspace doesn't get me the % owned, but I
guess that's because system is unique to each node?
[root@beta-new:~] #nodetool status system
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns Host ID
Rack
UN 162.243.60.6 293.6 KB 256 ?
97c6e976-8cad-4f39-af21-00360f091b37 rack1
UN 104.131.199.203 270.26 KB 256 ?
7014cf67-4632-41ee-b4f3-454874c3b402 rack1
UN 162.243.109.94 385.8 KB 256 ?
14f0efab-3ca5-43f3-9576-b9054c5a2557 rack1
Thanks
Tim
On Sat, Jan 17, 2015 at 10:41 PM, Colin <co...@gmail.com> wrote:
> Try running
>
> Nodetool status system
>
> By specifying a keyspace (system) in the command, you should get more
> meaningful results. Using the command on keyspaces as you dev/test/etc
> will provide real results.
>
> --
> *Colin Clark*
> +1-320-221-9531
>
>
> On Jan 17, 2015, at 7:22 PM, Tim Dunphy <bl...@gmail.com> wrote:
>
>
> Hey all,
>
> I've setup a 3 node cassandra ring. All the nodes are reporting in and
> appear to be working correctly. I have an RF setting of 3.
>
> However under the 'Owns' category all, all that I see if a '?'.
>
>
> [root@beta-new:~] #nodetool status
> Datacenter: datacenter1
> =======================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> -- Address Load Tokens Owns Host ID
> Rack
> UN xx.xx.xx.xx 227.99 KB 256 ?
> 97c6e976-8cad-4f39-af21-00360f091b37 rack1
> UN xx.xx.xx.xx 269.4 KB 256 ?
> 7014cf67-4632-41ee-b4f3-454874c3b402 rack1
> UN xx.xx.xx.xx 422.91 KB 256 ?
> 14f0efab-3ca5-43f3-9576-b9054c5a2557 rack1
>
> I was just wondering if this might mean I have a configuration error in my
> cassandra.yaml file. How can I see the % of data owned by each node?
>
> Thanks
> Tim
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
>
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Re: who owns the data?
Posted by Colin <co...@gmail.com>.
Try running
Nodetool status system
By specifying a keyspace (system) in the command, you should get more meaningful results. Using the command on keyspaces as you dev/test/etc will provide real results.
--
Colin Clark
+1-320-221-9531
> On Jan 17, 2015, at 7:22 PM, Tim Dunphy <bl...@gmail.com> wrote:
>
>
> Hey all,
>
> I've setup a 3 node cassandra ring. All the nodes are reporting in and appear to be working correctly. I have an RF setting of 3.
>
> However under the 'Owns' category all, all that I see if a '?'.
>
>
> [root@beta-new:~] #nodetool status
> Datacenter: datacenter1
> =======================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> -- Address Load Tokens Owns Host ID Rack
> UN xx.xx.xx.xx 227.99 KB 256 ? 97c6e976-8cad-4f39-af21-00360f091b37 rack1
> UN xx.xx.xx.xx 269.4 KB 256 ? 7014cf67-4632-41ee-b4f3-454874c3b402 rack1
> UN xx.xx.xx.xx 422.91 KB 256 ? 14f0efab-3ca5-43f3-9576-b9054c5a2557 rack1
>
> I was just wondering if this might mean I have a configuration error in my cassandra.yaml file. How can I see the % of data owned by each node?
>
> Thanks
> Tim
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
>