Package org.apache.hadoop.fs.local
Class RawLocalFs
java.lang.Object
org.apache.hadoop.fs.AbstractFileSystem
org.apache.hadoop.fs.DelegateToFileSystem
org.apache.hadoop.fs.local.RawLocalFs
- All Implemented Interfaces:
PathCapabilities
The RawLocalFs implementation of AbstractFileSystem.
This impl delegates to the old FileSystem
-
Field Summary
Fields inherited from class org.apache.hadoop.fs.DelegateToFileSystem
fsImplFields inherited from class org.apache.hadoop.fs.AbstractFileSystem
statistics -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return a set of server default configuration values based on path.intThe default port of this file system.booleanisValidName(String src) Returns true if the specified string is considered valid in the path part of a URI by this file system.Methods inherited from class org.apache.hadoop.fs.DelegateToFileSystem
createInternal, createSymlink, delete, getCanonicalServiceName, getDelegationTokens, getFileBlockLocations, getFileChecksum, getFileLinkStatus, getFileStatus, getFsStatus, getFsStatus, getHomeDirectory, getInitialWorkingDirectory, getLinkTarget, hasPathCapability, listStatus, mkdir, open, openFileWithOptions, renameInternal, setOwner, setPermission, setReplication, setTimes, setVerifyChecksum, supportsSymlinks, truncateMethods inherited from class org.apache.hadoop.fs.AbstractFileSystem
access, checkPath, checkScheme, clearStatistics, create, createFileSystem, createMultipartUploader, createSnapshot, deleteSnapshot, equals, get, getAclStatus, getAllStatistics, getAllStoragePolicies, getEnclosingRoot, getStatistics, getStatistics, getStoragePolicy, getUri, getUriPath, getXAttr, getXAttrs, getXAttrs, hashCode, listCorruptFileBlocks, listLocatedStatus, listStatusIterator, listXAttrs, makeQualified, methodNotSupported, modifyAclEntries, msync, open, printStatistics, removeAcl, removeAclEntries, removeDefaultAcl, removeXAttr, rename, renameInternal, renameSnapshot, resolvePath, satisfyStoragePolicy, setAcl, setStoragePolicy, setXAttr, setXAttr, unsetStoragePolicy
-
Method Details
-
getUriDefaultPort
public int getUriDefaultPort()Description copied from class:AbstractFileSystemThe default port of this file system.- Overrides:
getUriDefaultPortin classDelegateToFileSystem- Returns:
- default port of this file system's Uri scheme A uri with a port of -1 => default port;
-
getServerDefaults
Description copied from class:AbstractFileSystemReturn a set of server default configuration values based on path.- Overrides:
getServerDefaultsin classDelegateToFileSystem- Parameters:
f- path to fetch server defaults- Returns:
- server default configuration values for path
- Throws:
IOException- an I/O error occurred
-
getServerDefaults
Deprecated.Description copied from class:AbstractFileSystemReturn a set of server default configuration values.- Overrides:
getServerDefaultsin classDelegateToFileSystem- Returns:
- server default configuration values
- Throws:
IOException- an I/O error occurred
-
isValidName
Description copied from class:AbstractFileSystemReturns true if the specified string is considered valid in the path part of a URI by this file system. The default implementation enforces the rules of HDFS, but subclasses may override this method to implement specific validation rules for specific file systems.- Overrides:
isValidNamein classAbstractFileSystem- Parameters:
src- String source filename to check, path part of the URI- Returns:
- boolean true if the specified string is considered valid
-