Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15733

Correct the log when Invalid emptier Interval configured

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2.0, 3.1.2
    • Component/s: trash
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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

      2018-09-07 14:59:41,721 INFO org.apache.hadoop.fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 10 minutes, Emptier interval = -1 minutes.
      

      Exceptedoutput:-

      Emptier interval value should be 10

        Attachments

          Activity

            People

            • Assignee:
              ayushtkn Ayush Saxena
              Reporter:
              Harsha1206 Harshakiran Reddy
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: