You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mark Curtis (JIRA)" <ji...@apache.org> on 2015/01/02 17:40:13 UTC

[jira] [Created] (CASSANDRA-8554) Nodetool drain shows all nodes as UP on the drained node

Mark Curtis created CASSANDRA-8554:
--------------------------------------

             Summary: Nodetool drain shows all nodes as UP on the drained node
                 Key: CASSANDRA-8554
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8554
             Project: Cassandra
          Issue Type: Bug
         Environment: Centos 6.5, DSE4.5.1 tarball install
            Reporter: Mark Curtis
            Priority: Minor


When running nodetool drain, the drained node will still show the status of itself as UP in nodetool status even after the drain has finished. For example using a 3 node cluster on one of the nodes that is still operating and not drained we see this:

{code}
$ ./dse-4.5.1/bin/nodetool status
Note: Ownership information does not include topology; for complete information, specify a keyspace
Datacenter: Central
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address        Load       Tokens  Owns   Host ID                               Rack
UN  192.168.56.21  210.78 KB  256     32.1%  82eb2fca-4f57-467b-a972-93096ec5d69f  RAC1
DN  192.168.56.23  2.22 GB    256     33.5%  a11bfac1-fad0-440b-bd68-7562a89ce3c7  RAC1
UN  192.168.56.22  2.22 GB    256     34.4%  4250cb05-97be-4bac-887a-acc307d1bc0c  RAC1
{code}

While on the drained node we see this:

{code}
[datastax@DSE4 ~]$ ./dse-4.5.1/bin/nodetool drain
[datastax@DSE4 ~]$ ./dse-4.5.1/bin/nodetool status
Note: Ownership information does not include topology; for complete information, specify a keyspace
Datacenter: Central
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address        Load       Tokens  Owns   Host ID                               Rack
UN  192.168.56.21  210.78 KB  256     32.1%  82eb2fca-4f57-467b-a972-93096ec5d69f  RAC1
UN  192.168.56.23  2.22 GB    256     33.5%  a11bfac1-fad0-440b-bd68-7562a89ce3c7  RAC1
UN  192.168.56.22  2.22 GB    256     34.4%  4250cb05-97be-4bac-887a-acc307d1bc0c  RAC1
{code}

Netstat shows outgoing connections from the drained node to other nodes as still established on port 7000 but the node is no longer listening on port 7000 which I believe is expected.

However the output of nodetool status on the drained node could be interpreted as misleading.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)