You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuqi Yan (Jira)" <ji...@apache.org> on 2026/07/28 00:58:00 UTC
[jira] [Commented] (CASSANDRA-21538) Fix NullPointerException in nodetool listpendinghints
[ 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org