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

Fix some misuse of %n in VolumeScanner#printStats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha1
    • datanode
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: