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

RBF: Fix RouterRPCMetrics annocation and document misplaced error

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0, 3.2.1, 3.1.4
    • Fix Version/s: 3.4.0
    • Component/s: documentation
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: