Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15491

Journal transactions batched in sync metrics are missing from Journal Node JMX

    XMLWordPrintableJSON

    Details

    • Target Version/s:
    • Flags:
      Patch, Important

      Description

      I have enable the HA in HDP3.1.5 multinode cluster, I was trying to access the REST response given by Journal Node on http 8480 port, but as per Apache Hadoop 3.1.1 Documentation I found that some of the Journal Node specific metrics are missing. (metrics like NumTransactionsBatchedInSync_(60,300,3600)sNumOps and NumTransactionsBatchedInSync_Num_s(50/75/90/95/99)thPercentileLatencyMicros), So checked the _JournalMetrics.java code given in hadoop-hdfs-3.1.1.3.1.5.0-152-sources.jar as well as __ [Hadoop Open Source Code|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/server/JournalMetrics.java] found that the following code is missing :

       

      @Metric("Journal transactions batched in sync")
      final MutableQuantiles[] numTransactionsBatchedInSync;

       

        Attachments

        1. JournalNode metrics issue.png
          54 kB
          Mohit Saindane

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              m@hit1994 Mohit Saindane
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: