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

Native-Transport-Requests is missing from the nodetool tpstats output in Cassandra 2.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.12
    • None
    • Low

    Description

      It appears that in Cassandra 2.1 the output of "nodetool tpstats" has changed a bit, and Native-Transport-Requests is removed. This is a useful piece of statistics information to understand the pressure at the coordinator. Even though people can still use JMX or metrics reporter to get the same information, it is not as convenient as before (in Cassandra 2.0 this is exposed through tpstats).

      Looking at the code https://github.com/apache/cassandra/blob/cassandra-2.1/src/java/org/apache/cassandra/tools/NodeProbe.java#L1369-L1371, this appears to be caused by some restructure in the JMX metrics, and can be easily patched by adding "org.apache.cassandra.transport:type=*" into the list of thread pools we print out.

      I understand Sam filed another JIRA https://issues.apache.org/jira/browse/CASSANDRA-10018 just a few days ago. However, that is for versions 2.2 and beyond. The patch here is to specifically address a missing information in Cassandra 2.1.

      Attachments

        Issue Links

          Activity

            People

              weideng Wei Deng
              weideng Wei Deng
              Wei Deng
              T Jake Luciani
              Votes:
              7 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: