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

Trash configuration log statements prints incorrect units

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • None
    • None

    Description

      I ran `hdfs dfs -expunge` on a 2.2.0 system, and noticed the following the message printed out on the console:

      $ hdfs dfs -expunge
      13/11/23 22:12:17 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 1800000 minutes, Emptier interval = 0 minutes.
      

      The configuration for both the deletion interval and emptier interval are given in minutes, converted to milliseconds and then logged as milliseconds but with a label of minutes. It looks like this was introduced in HDFS-4903.

      Attachments

        1. HDFS-5560.patch
          0.9 kB
          Josh Elser

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: