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

Document missing metrics of erasure coding

    Details

      Description

      HDFS-8411, HDFS-11216 add some metrics of erasure coding, but it hasn't been documented. The following metrics in DataNodeMetrics is missing in documentation.

        @Metric("Count of erasure coding reconstruction tasks")
        MutableCounterLong ecReconstructionTasks;
        @Metric("Count of erasure coding failed reconstruction tasks")
        MutableCounterLong ecFailedReconstructionTasks;
        @Metric("Nanoseconds spent by decoding tasks")
        MutableCounterLong ecDecodingTimeNanos;
        @Metric("Bytes read by erasure coding worker")
        MutableCounterLong ecReconstructionBytesRead;
        @Metric("Bytes written by erasure coding worker")
        MutableCounterLong ecReconstructionBytesWritten;
        @Metric("Bytes remote read by erasure coding worker")
        MutableCounterLong ecReconstructionRemoteBytesRead;
      

        Issue Links

          Activity

          Hide
          linyiqun Yiqun Lin added a comment -

          Attach a patch.

          Show
          linyiqun Yiqun Lin added a comment - Attach a patch.
          Hide
          hadoopqa Hadoop QA added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 19s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 mvninstall 13m 36s trunk passed
          +1 mvnsite 1m 0s trunk passed
          +1 mvnsite 0m 55s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 asflicense 0m 17s The patch does not generate ASF License warnings.
          16m 24s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:a9ad5d6
          JIRA Issue HDFS-11371
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12849406/HDFS-11371.001.patch
          Optional Tests asflicense mvnsite
          uname Linux f7f745fe63dc 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 425a7e5
          modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/18263/console
          Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 19s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 mvninstall 13m 36s trunk passed +1 mvnsite 1m 0s trunk passed +1 mvnsite 0m 55s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 asflicense 0m 17s The patch does not generate ASF License warnings. 16m 24s Subsystem Report/Notes Docker Image:yetus/hadoop:a9ad5d6 JIRA Issue HDFS-11371 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12849406/HDFS-11371.001.patch Optional Tests asflicense mvnsite uname Linux f7f745fe63dc 3.13.0-106-generic #153-Ubuntu SMP Tue Dec 6 15:44:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 425a7e5 modules C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common Console output https://builds.apache.org/job/PreCommit-HDFS-Build/18263/console Powered by Apache Yetus 0.5.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          linyiqun Yiqun Lin added a comment - - edited

          Hi Andrew Wang, I found some metrics relevant EC that are added in 3.0.0-alpha2(HDFS-7674 and HDFS-11216 done for this), but they haven't been documented yet. We can have a fix in 3.0.0-alpha3. Are you interest in taking a quick look for this? This is a minor change.

          Show
          linyiqun Yiqun Lin added a comment - - edited Hi Andrew Wang , I found some metrics relevant EC that are added in 3.0.0-alpha2( HDFS-7674 and HDFS-11216 done for this), but they haven't been documented yet. We can have a fix in 3.0.0-alpha3. Are you interest in taking a quick look for this? This is a minor change.
          Hide
          andrew.wang Andrew Wang added a comment -

          LGTM +1 thanks Yiqun for working on this!

          Show
          andrew.wang Andrew Wang added a comment - LGTM +1 thanks Yiqun for working on this!
          Hide
          linyiqun Yiqun Lin added a comment -

          Thanks Andrew Wang for the review. Committed to trunk.

          Show
          linyiqun Yiqun Lin added a comment - Thanks Andrew Wang for the review. Committed to trunk.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11210 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11210/)
          HDFS-11371. Document missing metrics of erasure coding. Contributed by (yqlin: rev 3ea6d3517e2f0448d91af73508ec9d10c4a3de21)

          • (edit) hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11210 (See https://builds.apache.org/job/Hadoop-trunk-Commit/11210/ ) HDFS-11371 . Document missing metrics of erasure coding. Contributed by (yqlin: rev 3ea6d3517e2f0448d91af73508ec9d10c4a3de21) (edit) hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md

            People

            • Assignee:
              linyiqun Yiqun Lin
              Reporter:
              linyiqun Yiqun Lin
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development