Package org.apache.hadoop.fs.ftp
Class FtpFs
java.lang.Object
org.apache.hadoop.fs.AbstractFileSystem
org.apache.hadoop.fs.DelegateToFileSystem
org.apache.hadoop.fs.ftp.FtpFs
- All Implemented Interfaces:
PathCapabilities
The FtpFs 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.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, isValidName, 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
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
-
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
-