[ 
https://issues.apache.org/jira/browse/CASSANDRA-14795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422432#comment-17422432
 ] 

Aleksei Zotov commented on CASSANDRA-14795:
-------------------------------------------

I used to operate C* many years ago, so it is hard for me as well :) Brainstorm 
and debate are strong tools for finding the best options :) 

 
{quote}about dc and rack to correlate the number of hints and the *nodes'* 
status with their location in a single output
{quote}
Here is where my confusion is. Nodetool is a command that is executed against a 
particular node. And in our case it provides hints details for that single node 
(not for all nodes in the cluster). So as per my understanding, in the output 
we will see a single node that we connected to. Could you please check and 
confirm / refute this statement.

If it is true, then you may want to re-consider your opinion on having 
additional details in the output (node is not up -> it is impossible to 
connect, "status" command can be used for other details).

If it is false, then I totally support having such details in the output.

> Expose information about stored hints via JMX
> ---------------------------------------------
>
>                 Key: CASSANDRA-14795
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14795
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Legacy/Observability
>            Reporter: Aleksandr Sorokoumov
>            Assignee: Aleksandr Sorokoumov
>            Priority: Low
>             Fix For: 4.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently there is no way to determine what kind of hints a node has, apart 
> from looking at the filenames (thus host-ids) on disk. Having a way to access 
> this information would help with debugging hint creation/replay scenarios.
> In addition to the JMX method, there is a new nodetool command:
> {noformat}$ bin/nodetool -h 127.0.0.1 -p 7100 listendpointspendinghints
> Host ID Address Rack DC Status Total files Newest Oldest
> 5762b140-3fdf-4057-9ca7-05c070ccc9c3 127.0.0.2 rack1 datacenter1 DOWN 2 
> 2018-09-18 14:05:18,835 2018-09-18 14:05:08,811
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to