Hadoop Common
  1. Hadoop Common
  2. HADOOP-8015

ChRootFileSystem should extend FilterFileSystem

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 0.24.0
    • Fix Version/s: 0.23.1
    • Component/s: fs
    • Labels:
      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.

        Issue Links

          Activity

          Daryn Sharp created issue -
          Daryn Sharp made changes -
          Field Original Value New Value
          Link This issue is required by HADOOP-8013 [ HADOOP-8013 ]
          Daryn Sharp made changes -
          Link This issue is required by HADOOP-8014 [ HADOOP-8014 ]
          Daryn Sharp made changes -
          Attachment HADOOP-8015.patch [ 12513043 ]
          Daryn Sharp made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Target Version/s 0.23.1, 0.24.0 [ 12318884, 12317652 ] 0.24.0, 0.23.1 [ 12317652, 12318884 ]
          Robert Joseph Evans made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Target Version/s 0.23.1, 0.24.0 [ 12318884, 12317652 ] 0.24.0, 0.23.1 [ 12317652, 12318884 ]
          Fix Version/s 0.23.1 [ 12318884 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Daryn Sharp
              Reporter:
              Daryn Sharp
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development