Package org.apache.hadoop.fs.viewfs
Interface Constants
public interface Constants
Config variable prefixes for ViewFs -
see
ViewFs for examples.
The mount table is specified in the config using these prefixes.
See ConfigUtil for convenience lib.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConfig to enable nested mount point in viewfsstatic final StringConfig variable name for the default mount table.static final StringConfig key to specify the name of the default mount table.static final StringEnable ViewFileSystem to cache all children filesystems in inner cache.static final booleanstatic final StringPrefix for the home dir for the mount table - if not specified then the hadoop default value (/user) is used.static final StringWhen initializing the viewfs, authority will be used as the mount table name to find the mount link configurations.static final booleanstatic final StringConfig variable for specifying a simple linkstatic final StringConfig variable for specifying a fallback for link mount points.static final StringConfig variable for specifying a merge linkstatic final StringConfig variable for specifying a merge of the root of the mount-table with the root of another file system.static final StringConfig variable for specifying an nfly link.static final StringConfig variable for specifying a regex link which uses regular expressions as source and target could use group captured in src.static final StringEnable ViewFileSystem to show mountlinks as symlinks.static final booleanstatic final Stringstatic final StringPrefix for the config variable for the ViewFs mount-table path.static final StringPrefix for the config variable prefix for the ViewFs mount-tablestatic final StringConfig variable full prefix for the default mount table.static final Stringstatic final StringForce ViewFileSystem to return a trashRoot that is inside a mount point.static final booleanstatic final Class<? extends MountTableConfigLoader>static final FsPermission
-
Field Details
-
CONFIG_VIEWFS_PREFIX
Prefix for the config variable prefix for the ViewFs mount-table- See Also:
-
CONFIG_VIEWFS_MOUNTTABLE_PATH
Prefix for the config variable for the ViewFs mount-table path.- See Also:
-
CONFIG_VIEWFS_HOMEDIR
Prefix for the home dir for the mount table - if not specified then the hadoop default value (/user) is used.- See Also:
-
CONFIG_VIEWFS_DEFAULT_MOUNT_TABLE_NAME_KEY
Config key to specify the name of the default mount table.- See Also:
-
CONFIG_VIEWFS_DEFAULT_MOUNT_TABLE
Config variable name for the default mount table.- See Also:
-
CONFIG_NESTED_MOUNT_POINT_SUPPORTED
Config to enable nested mount point in viewfs- See Also:
-
CONFIG_VIEWFS_PREFIX_DEFAULT_MOUNT_TABLE
Config variable full prefix for the default mount table.- See Also:
-
CONFIG_VIEWFS_LINK
Config variable for specifying a simple link- See Also:
-
CONFIG_VIEWFS_LINK_FALLBACK
Config variable for specifying a fallback for link mount points.- See Also:
-
CONFIG_VIEWFS_LINK_MERGE
Config variable for specifying a merge link- See Also:
-
CONFIG_VIEWFS_LINK_NFLY
Config variable for specifying an nfly link. Nfly writes to multiple locations, and allows reads from the closest one.- See Also:
-
CONFIG_VIEWFS_LINK_MERGE_SLASH
Config variable for specifying a merge of the root of the mount-table with the root of another file system.- See Also:
-
CONFIG_VIEWFS_LINK_REGEX
Config variable for specifying a regex link which uses regular expressions as source and target could use group captured in src. E.g. (^/(?<firstDir>\\w+), /prefix-${firstDir}) => (/path1/file1 => /prefix-path1/file1)- See Also:
-
PERMISSION_555
-
CONFIG_VIEWFS_RENAME_STRATEGY
- See Also:
-
CONFIG_VIEWFS_ENABLE_INNER_CACHE
Enable ViewFileSystem to cache all children filesystems in inner cache.- See Also:
-
CONFIG_VIEWFS_ENABLE_INNER_CACHE_DEFAULT
static final boolean CONFIG_VIEWFS_ENABLE_INNER_CACHE_DEFAULT- See Also:
-
CONFIG_VIEWFS_MOUNT_LINKS_AS_SYMLINKS
Enable ViewFileSystem to show mountlinks as symlinks.- See Also:
-
CONFIG_VIEWFS_MOUNT_LINKS_AS_SYMLINKS_DEFAULT
static final boolean CONFIG_VIEWFS_MOUNT_LINKS_AS_SYMLINKS_DEFAULT- See Also:
-
CONFIG_VIEWFS_IGNORE_PORT_IN_MOUNT_TABLE_NAME
When initializing the viewfs, authority will be used as the mount table name to find the mount link configurations. To make the mount table name unique, we may want to ignore port if initialized uri authority contains port number. By default, we will consider port number also in ViewFileSystem(This default value false, because to support existing deployments continue with the current behavior).- See Also:
-
CONFIG_VIEWFS_IGNORE_PORT_IN_MOUNT_TABLE_NAME_DEFAULT
static final boolean CONFIG_VIEWFS_IGNORE_PORT_IN_MOUNT_TABLE_NAME_DEFAULT- See Also:
-
CONFIG_VIEWFS_MOUNTTABLE_LOADER_IMPL
- See Also:
-
DEFAULT_MOUNT_TABLE_CONFIG_LOADER_IMPL
-
CONFIG_VIEWFS_TRASH_FORCE_INSIDE_MOUNT_POINT
Force ViewFileSystem to return a trashRoot that is inside a mount point.- See Also:
-
CONFIG_VIEWFS_TRASH_FORCE_INSIDE_MOUNT_POINT_DEFAULT
static final boolean CONFIG_VIEWFS_TRASH_FORCE_INSIDE_MOUNT_POINT_DEFAULT- See Also:
-