@InterfaceAudience.Public @InterfaceStability.Evolving public final class ViewFileSystemUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Map<org.apache.hadoop.fs.viewfs.ViewFileSystem.MountPoint,FsStatus> |
getStatus(FileSystem fileSystem,
Path path)
Get FsStatus for all ViewFsMountPoints matching path for the given
ViewFileSystem.
|
static boolean |
isViewFileSystem(FileSystem fileSystem)
Check if the FileSystem is a ViewFileSystem.
|
public static boolean isViewFileSystem(FileSystem fileSystem)
fileSystem
- public static Map<org.apache.hadoop.fs.viewfs.ViewFileSystem.MountPoint,FsStatus> getStatus(FileSystem fileSystem, Path path) throws IOException
fileSystem
- - ViewFileSystem on which mount point existspath
- - URI for which FsStatus is requestedIOException
Copyright © 2017 Apache Software Foundation. All rights reserved.