cassandra-client-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher J. Bottaro" <cjbott...@alumni.utexas.net>
Subject Re: system peers table is lying to me?
Date Thu, 26 Sep 2013 21:44:05 GMT
Looks like it's a known issue:
https://issues.apache.org/jira/browse/CASSANDRA-6053


On Thu, Sep 26, 2013 at 3:42 PM, Christopher J. Bottaro <
cjbottaro@alumni.utexas.net> wrote:

> Trying to write a cluster aware client, but it's hard to because the peers
> table is not being truthful.
>
> Here's some output to corroborate my story…
>
> cqlsh:system> select peer, host_id, rpc_address, schema_version,
> release_version from peers;
>
>  peer         | host_id                              | rpc_address  |
> schema_version                       | release_version
>
> --------------+--------------------------------------+--------------+--------------------------------------+-----------------
>  10.93.33.149 | dcffbbcd-8003-4eaa-8edd-256c5523763c | 10.93.33.149 |
> f881f4ef-bed9-3dd0-b3bb-e91cd314599c |           1.2.9
>   10.93.73.25 | 9a02b1b5-fec4-427e-a919-c753d0e8b699 |  10.93.73.25 |
> 20711c2d-c099-3b7b-80a3-ca255686e571 |           1.2.9
>
> $ nodetool status
> Datacenter: us-east
> ===================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address         Load       Tokens  Owns   Host ID
>           Rack
> UN  10.93.73.25     6.7 GB     256     50.1%
>  9a02b1b5-fec4-427e-a919-c753d0e8b699  1a
> UN  10.222.194.127  6.7 GB     256     49.9%
>  e003f4e2-2aa7-4c95-90a0-b70858d5b0e7  1a
>
> $ ifconfig | grep "inet addr"
>           inet addr:10.222.194.127  Bcast:10.222.195.255
>  Mask:255.255.254.0
>           inet addr:127.0.0.1  Mask:255.0.0.0
>
>
> Thanks for the help.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message