[
https://issues.apache.org/jira/browse/CASSANDRA-21538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuqi Yan updated CASSANDRA-21538:
---------------------------------
Bug Category: Parent values: Availability(12983)
Complexity: Low Hanging Fruit
Discovered By: User Report
Fix Version/s: 4.1.x
trunk
Severity: Low
Status: Open (was: Triage Needed)
> 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]