[ 
https://issues.apache.org/jira/browse/CASSANDRA-8554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301201#comment-14301201
 ] 

Anuja Mandlecha commented on CASSANDRA-8554:
--------------------------------------------

I tried to reproduce the same bug using apache cassandra-2.0.8 which dse-4.5.1 
uses but couldnt reproduce. The node is shown as down once it is drained which 
is expected behaviour.I also tried with apache cassandra-2.1.2 and the same 
happened with it too.

> Node where gossip is disabled still shows  as UP on that node; other nodes 
> show it as DN
> ----------------------------------------------------------------------------------------
>
>                 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)

Reply via email to