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

Correct the distcp counters name while displaying counters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0, 2.7.4, 3.0.0-alpha2
    • Component/s: distcp
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In distcp cmd output,

      hadoop distcp hdfs://NN1:port/file1 hdfs://NN2:port/file2

      16/02/29 07:05:55 INFO tools.DistCp: DistCp job-id: job_1456729398560_0002
      16/02/29 07:05:55 INFO mapreduce.Job: Running job: job_1456729398560_0002
      16/02/29 07:06:01 INFO mapreduce.Job: Job job_1456729398560_0002 running in uber mode : false
      16/02/29 07:06:01 INFO mapreduce.Job: map 0% reduce 0%
      16/02/29 07:06:06 INFO mapreduce.Job: map 100% reduce 0%
      16/02/29 07:06:07 INFO mapreduce.Job: Job job_1456729398560_0002 completed successfully
      ...
      ...
      File Input Format Counters
      Bytes Read=212
      File Output Format Counters
      Bytes Written=0
      org.apache.hadoop.tools.mapred.CopyMapper$Counter

      BANDWIDTH_IN_BYTES=12418
      BYTESCOPIED=12418
      BYTESEXPECTED=12418
      COPY=1

      Expected:
      Display Name can be given instead of "org.apache.hadoop.tools.mapred.CopyMapper$Counter"

        Attachments

        1. HDFS-9885.001.patch
          2 kB
          Surendra Singh Lilhore
        2. HDFS-9885.002.patch
          2 kB
          Surendra Singh Lilhore

          Activity

            People

            • Assignee:
              surendrasingh Surendra Singh Lilhore
              Reporter:
              archanat Archana T
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: