Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-14795

Expose information about stored hints via JMX

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Low
    • Resolution: Unresolved
    • Fix Version/s: 4.x
    • Component/s: Legacy/Observability
    • Labels:
      None

      Description

      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:

      $ 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
      

        Attachments

          Activity

            People

            • Assignee:
              Gerrrr Aleksandr Sorokoumov Assign to me
              Reporter:
              Gerrrr Aleksandr Sorokoumov
              Authors:
              Aleksandr Sorokoumov

              Dates

              • Created:
                Updated:

                Issue deployment