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

Description of hdfs expunge command is confusing

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Target Version/s:

      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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              cheersyang Weiwei Yang
              Reporter:
              cheersyang Weiwei Yang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment