[
https://issues.apache.org/jira/browse/HADOOP-15733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brahma Reddy Battula updated HADOOP-15733:
------------------------------------------
Summary: Correct the log when Invalid emptier Interval configured (was:
Invalid emptier Interval value printing in Logs when we configured invalid)
> Correct the log when Invalid emptier Interval configured
> --------------------------------------------------------
>
> 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: [email protected]
For additional commands, e-mail: [email protected]