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

ChRootFileSystem should extend FilterFileSystem

    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

        1. HADOOP-8015.patch
          8 kB
          Daryn Sharp

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: