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

Fix some misuse of %n in VolumeScanner#printStats

    Details

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

      Description

      Found 2 extra "%n" in the VolumeScanner report and lines not well formatted below. This JIRA is opened to fix the format issue.

      Block scanner information for volume DS-93fb2503-de00-4f98-a8bc-c2bc13b8f0f7 with base path /hadoop/hdfs/data%nBytes verified in last hour       :                                                 136882014
      Blocks scanned in current period  :                                                         5
      Blocks scanned since restart      :                                                         5
      Block pool scans since restart    :                                                         0
      Block scan errors since restart   :                                                         0
      Hours until next block pool scan  :                                                   476.000
      Last block scanned                : BP-1792969149-192.168.70.101-1444150984999:blk_1073742088_1274
      More blocks to scan in period     :                                                     false
      %n
      

        Attachments

        1. HDFS-9210.00.patch
          1 kB
          Xiaoyu Yao
        2. HDFS-9210.01.patch
          1 kB
          Xiaoyu Yao
        3. HDFS-9210.02.patch
          1 kB
          Xiaoyu Yao

          Activity

            People

            • Assignee:
              xyao Xiaoyu Yao
              Reporter:
              xyao Xiaoyu Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: