[
https://issues.apache.org/jira/browse/CASSANDRA-21538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuqi Yan updated CASSANDRA-21538:
---------------------------------
Description:
{{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.
was:
{{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.
> 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
>
> {{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]