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

Directory Scanner should log startup message time correctly

    Details

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

      Description

      When DirectoryScanner is enabled, one can see the following log:

      INFO org.apache.hadoop.hdfs.server.datanode.DirectoryScanner: Periodic 
      Directory Tree Verification scan starting at 1479189895562ms with interval of 21600000ms
      

      The first is epoch time and should not have 'ms'. Or better yet, we can change it to a human-readable format.

        Attachments

        1. HDFS-11140.001.patch
          2 kB
          Yiqun Lin
        2. HDFS-11140.002.patch
          2 kB
          Yiqun Lin

          Activity

            People

            • Assignee:
              linyiqun Yiqun Lin
              Reporter:
              xiaochen Xiao Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: