[
https://issues.apache.org/jira/browse/CASSANDRA-21538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18099588#comment-18099588
]
Yuqi Yan commented on CASSANDRA-21538:
--------------------------------------
4.1 PR: https://github.com/apache/cassandra/pull/4968
> 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
> 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]