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.