Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4683

Per directory trash settings / trash override

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

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None
    • Hadoop2

    Description

      With the migration of trash settings to server side, it becomes more complicated for applications built on top of HDFS to properly deal with their trash. Applications like HBase and Accumulo already have a fair amount of trash management, adding the HDFS Trash will simply put more stress on DFS. But fully disabling the trash is overkill, as there still may be use for it in other uses of hadoop.

      I would like to request either:
      A. per directory or user trash settings, so that applications which work in a specific directory or use a specific user can continue to ignore the trash.
      B. An updated DistributedFileSystem delete() call which allows you to force ignoring the trash. I'm not sure how feasible this is due to the FileSystem API, but it may be possible.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            vines John Vines
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment