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

ChRootFileSystem should extend FilterFileSystem

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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0, 0.24.0
    • 0.23.1
    • fs
    • None

    Description

      ChRootFileSystem simply extends FileSystem, and attempts to delegate some methods to the underlying mount point. It is essentially the same as FilterFileSystem but it mangles the paths to include the chroot path. Unfortunately ChRootFileSystem is not delegating some methods that should be delegated. Changing the inheritance will prevent a copy-n-paste of code for HADOOP-8013 and HADOOP-8014 into both ChRootFileSystem and FilterFileSystem.

      Attachments

        Issue Links

        Activity

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

          People

            daryn Daryn Sharp Assign to me
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment