Josh Elser created HDFS-5560:
--------------------------------

             Summary: Trash configuration log statements prints incorrect units
                 Key: HDFS-5560
                 URL: https://issues.apache.org/jira/browse/HDFS-5560
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Josh Elser


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

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

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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to