[ https://issues.apache.org/jira/browse/HADOOP-15733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16608659#comment-16608659 ]
Ayush Saxena commented on HADOOP-15733: --------------------------------------- Thanks [~Harsha1206] for the catch. Have uploaded the patch to counter the problem. > Invalid emptier Interval value printing in Logs when we configured invalid > -------------------------------------------------------------------------- > > Key: HADOOP-15733 > URL: https://issues.apache.org/jira/browse/HADOOP-15733 > Project: Hadoop Common > Issue Type: Bug > Components: trash > Affects Versions: 3.1.1 > Reporter: Harshakiran Reddy > Assignee: Ayush Saxena > Priority: Major > Attachments: HADOOP-15733.patch > > > {{Scenario:-}} > Configure Deletion interval as 10 and Emptier interval as -1 > Restart the namenode > Run the rm command hdfs dfs -rm /file > {{ Actualoutput:- }} > In log it's printing the -1 value for emptierinverval but as per the code > it's should be deletion interval value > {noformat} > 2018-09-07 14:59:41,721 INFO org.apache.hadoop.fs.TrashPolicyDefault: > Namenode trash configuration: Deletion interval = 10 minutes, Emptier > interval = -1 minutes. > {noformat} > {{Exceptedoutput:-}} > Emptier interval value should be 10 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org