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

Directory Scanner should log startup message time correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.1
    • 2.8.0, 3.0.0-alpha2
    • None
    • 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.002.patch
          2 kB
          Yiqun Lin
        2. HDFS-11140.001.patch
          2 kB
          Yiqun Lin

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: