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

Description of hdfs expunge command is confusing

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.004.patch
          2 kB
          Weiwei Yang
        2. HADOOP-12374.003.patch
          2 kB
          Weiwei Yang
        3. HADOOP-12374.002.patch
          2 kB
          Weiwei Yang
        4. HADOOP-12374.001.patch
          2 kB
          Weiwei Yang

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment