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

RBF: Fix RouterRPCMetrics annocation and document misplaced error

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0, 3.2.1, 3.1.4
    • 3.4.0
    • documentation
    • None

    Description

      I found that the description of the two fields: ProxyOpFailureStandby and ProxyOpFailureCommunicate in the website may be misplaced. 

      When I reviewed the code to see the meaning of the two fields, I found that their descriptions were indeed misplaced.

      Origin code

      @Metric("Number of operations to fail to reach NN")
      private MutableCounterLong proxyOpFailureStandby;
      @Metric("Number of operations to hit a standby NN")
      private MutableCounterLong proxyOpFailureCommunicate;
      

      They should be:

      @Metric("Number of operations to hit a standby NN")
      private MutableCounterLong proxyOpFailureStandby;
      @Metric("Number of operations to fail to reach NN")
      private MutableCounterLong proxyOpFailureCommunicate;
      

      Attachments

        1. HDFS-15668.001.patch
          2 kB
          Hongbing Wang

        Activity

          People

            wanghongbing Hongbing Wang
            wanghongbing Hongbing Wang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: