[ 
https://issues.apache.org/jira/browse/CASSANDRA-21538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuqi Yan updated CASSANDRA-21538:
---------------------------------
    Test and Documentation Plan: 4.1 PR: 
https://github.com/apache/cassandra/pull/4968
                         Status: Patch Available  (was: Open)

> Fix NullPointerException in nodetool listpendinghints
> -----------------------------------------------------
>
>                 Key: CASSANDRA-21538
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21538
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: Yuqi Yan
>            Assignee: Yuqi Yan
>            Priority: Normal
>             Fix For: 4.1.x, trunk
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{nodetool listpendinghints}} crashes with a NullPointerException when a hint 
> is still pending for a host id that is no longer part of the ring (the node 
> was removed, decommissioned or replaced).
> Fix: guard the null address, skip the snitch/gossip lookups in that case, and 
> report the location fields (Address/Rack/DC/Status) as "Unknown" while still 
> listing the pending hint.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to