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

Description of hdfs expunge command is confusing

    XMLWordPrintableJSON

Details

    Description

      Usage: hadoop fs -expunge

      Empty the Trash. Refer to the HDFS Architecture Guide for more information on the Trash feature.

      this description is confusing. It gives user the impression that this command will empty trash, but actually it only removes old checkpoints. If user sets a pretty long value for fs.trash.interval, this command will not remove anything until checkpoints exist longer than this value.

      Attachments

        1. HADOOP-12374.001.patch
          2 kB
          Weiwei Yang
        2. HADOOP-12374.002.patch
          2 kB
          Weiwei Yang
        3. HADOOP-12374.003.patch
          2 kB
          Weiwei Yang
        4. HADOOP-12374.004.patch
          2 kB
          Weiwei Yang

        Issue Links

          Activity

            People

              cheersyang Weiwei Yang
              cheersyang Weiwei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: