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

Correct the log when Invalid emptier Interval configured

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.2.0, 3.1.2
    • trash
    • None
    • 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

        1. HADOOP-15733.patch
          0.9 kB
          Ayush Saxena

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: