Package org.apache.hadoop.fs
package org.apache.hadoop.fs
Implementations of AbstractFileSystem for hdfs
over rpc and hdfs over web.
-
ClassDescriptionAbort data being written to a stream, so that close() does not write the data.org.apache.hadoop.fs.Abortable.AbortableResultInterface for the result of aborts; allows subclasses to extend (IOStatistics etc) or for future enhancements if ever needed.This class provides an interface for implementors of a Hadoop file system (analogous to the VFS of Unix).Adapts an
FSDataInputStreamto Avro's SeekableInput interface.org.apache.hadoop.fs.BatchedRemoteIterator<K,E> A RemoteIterator that fetches elements in batches.org.apache.hadoop.fs.BatchedRemoteIterator.BatchedEntries<E>org.apache.hadoop.fs.BatchedRemoteIterator.BatchedListEntries<E>Interface filesystems MAY implement to offer a batched list.org.apache.hadoop.fs.BBPartHandleByte array backed part handle.org.apache.hadoop.fs.BBUploadHandleByte array backed upload handle.Represents the network location of a block, information about the hosts that contain block replicas, and other block metadata (E.g. the file offset associated with the block, length, whether it is corrupt, etc).A storage policy specifies the placement of block replicas on specific storage types.org.apache.hadoop.fs.BufferedFSInputStreamA class that optimizes reading from FSInputStream by buffering.API for bulk deletion of objects/files, but not directories.Interface for bulk deletion.org.apache.hadoop.fs.BulkDeleteUtilsUtility class for bulk delete operations.Implementers of this interface provide a positioned read API that writes to aByteBufferrather than abyte[].Implementers of this interface provide a read API that writes to a ByteBuffer, not a byte[].org.apache.hadoop.fs.ByteBufferUtilSpecifies semantics for CacheDirective operations.org.apache.hadoop.fs.CachingGetSpaceUsedInterface for class that can tell estimate much space is used in a directory.FSDataInputStreams implement this interface to indicate that they can clear their buffers on request.Thrown for checksum errors.Abstract Checksumed FileSystem.org.apache.hadoop.fs.ChecksumFsAbstract Checksumed Fs.Exception to denote if the underlying stream, cache or other closable resource is closed.Exception raised by HDFS indicating that storage capacity in the cluster filesystem is exceeded.org.apache.hadoop.fs.CommonConfigurationKeysThis class contains constants for configuration keys used in the common code.This class contains constants for configuration keys used in the common code.org.apache.hadoop.fs.CommonPathCapabilitiesCommon path capabilities.org.apache.hadoop.fs.CompositeCrcFileChecksumComposite CRC.Store the summary of a content (a directory or a file).org.apache.hadoop.fs.ContentSummary.BuilderWe don't use generics.CreateFlag specifies the file create semantic.org.apache.hadoop.fs.DelegateToFileSystemImplementation of AbstractFileSystem based on the existing implementation ofFileSystem.org.apache.hadoop.fs.DelegationTokenRenewerA daemon thread that waits for the next file system to renew.org.apache.hadoop.fs.DelegationTokenRenewer.RenewableThe renewable interface used by the renewer.org.apache.hadoop.fs.DelegationTokenRenewer.RenewAction<T extends FileSystem & org.apache.hadoop.fs.DelegationTokenRenewer.Renewable>An action that will renew and replace the file system's delegation tokens automatically.org.apache.hadoop.fs.DFFilesystem disk space usage statistics.org.apache.hadoop.fs.DFCachingGetSpaceUsedFast but inaccurate class to tell how much space HDFS is using.org.apache.hadoop.fs.DirectoryListingStartAfterNotFoundExceptionThrown when the startAfter can't be found when listing a directory.org.apache.hadoop.fs.DUFilesystem disk space usage statistics.org.apache.hadoop.fs.DUHelperorg.apache.hadoop.fs.EtagSourceAn optional interface forFileStatussubclasses to implement to provide access to etags.Used when target file already exists for any operation and is not configured to be overwritten.An abstract class representing file checksums for files.The FileContext class provides an interface for users of the Hadoop file system.org.apache.hadoop.fs.FileEncryptionInfoFileEncryptionInfo encapsulates all the encryption-related information for an encrypted file.org.apache.hadoop.fs.FileRangeA byte range of a file.Interface that represents the client side information for a file.Flags for entity attributes.An abstract base class for a fairly generic filesystem.org.apache.hadoop.fs.FileSystem.DirectoryEntriesRepresents a batch of directory entries when iteratively listing a directory.org.apache.hadoop.fs.FileSystem.StatisticsTracks statistics about how many reads, writes, and so forth have been done in a FileSystem.org.apache.hadoop.fs.FileSystem.Statistics.StatisticsDataStatistics data.org.apache.hadoop.fs.FileSystemLinkResolver<T>FileSystem-specific class used to operate on and resolve symlinks in a path.org.apache.hadoop.fs.FileSystemStorageStatisticsA basic StorageStatistics instance which simply returns data from FileSystem#Statistics.A collection of file-processing util methodsorg.apache.hadoop.fs.FileUtil.HardLinkDeprecated.AFilterFileSystemcontains some other file system, which it uses as its basic file system, possibly transforming the data along the way or providing additional functionality.org.apache.hadoop.fs.FilterFsAFilterFscontains some other file system, which it uses as its basic file system, possibly transforming the data along the way or providing additional functionality.The base interface which various FileSystem FileContext Builder interfaces can extend, and which underlying implementations will then implement.FileSystem related constants.Utility that wraps aFSInputStreamin aDataInputStreamand buffers input through aBufferedInputStream.Utility that wraps aOutputStreamin aDataOutputStream.Builder forFSDataOutputStreamand its subclasses.Thrown for unexpected filesystem errors, presumed to reflect disk errors in the native filesystem.org.apache.hadoop.fs.FSExceptionMessagesStandard strings to use in exception messages in filesystems HDFS is used as the reference source of the stringsorg.apache.hadoop.fs.FSInputCheckerThis is a generic input stream for verifying checksums for data before it is read by a user.FSInputStream is a generic old InputStream with a little bit of RAF-style seek ability.org.apache.hadoop.fs.FSLinkResolver<T>Used primarily byFileContextto operate on and resolve symlinks in a path.org.apache.hadoop.fs.FSOutputSummerThis is a generic output stream for generating checksums for data before it is written to the underlying streamorg.apache.hadoop.fs.FSProtosorg.apache.hadoop.fs.FSProtos.FileStatusProtoFileStatus encoding.org.apache.hadoop.fs.FSProtos.FileStatusProto.BuilderFileStatus encoding.Protobuf enumhadoop.fs.FileStatusProto.FileTypeProtobuf enumhadoop.fs.FileStatusProto.Flagsorg.apache.hadoop.fs.FSProtos.FileStatusProtoOrBuilderorg.apache.hadoop.fs.FSProtos.FsPermissionProtoProtobuf typehadoop.fs.FsPermissionProtoorg.apache.hadoop.fs.FSProtos.FsPermissionProto.BuilderProtobuf typehadoop.fs.FsPermissionProtoorg.apache.hadoop.fs.FSProtos.FsPermissionProtoOrBuilderorg.apache.hadoop.fs.FSProtos.LocalFileSystemPathHandleProtoPlaceholder type for consistent basic FileSystem operations.org.apache.hadoop.fs.FSProtos.LocalFileSystemPathHandleProto.BuilderPlaceholder type for consistent basic FileSystem operations.org.apache.hadoop.fs.FSProtos.LocalFileSystemPathHandleProtoOrBuilderProvides server default configuration values to clients.org.apache.hadoop.fs.FsShellProvide command line access to a FileSystem.org.apache.hadoop.fs.FsShellPermissionsThis class is the home for file permissions related commands.org.apache.hadoop.fs.FsShellPermissions.ChgrpUsed to change group of filesorg.apache.hadoop.fs.FsShellPermissions.ChmodThe pattern is almost as flexible as mode allowed by chmod shell command.org.apache.hadoop.fs.FsShellPermissions.ChownUsed to change owner and/or group of filesThis class is used to represent the capacity, free and used space on aFileSystem.org.apache.hadoop.fs.FsTracerHolds the HTrace Tracer used for FileSystem operations.org.apache.hadoop.fs.FsUrlStreamHandlerFactoryFactory for URL stream handlers.Builder for input streams and subclasses whose return value is actually a completable future: this allows for better asynchronous operation.org.apache.hadoop.fs.GetSpaceUsedorg.apache.hadoop.fs.GetSpaceUsed.BuilderThe builder classStores global storage statistics objects.org.apache.hadoop.fs.GlobalStorageStatistics.StorageStatisticsProviderA callback API for creating new StorageStatistics instances.org.apache.hadoop.fs.GlobberImplementation ofFileSystem.globStatus(Path, PathFilter).org.apache.hadoop.fs.Globber.GlobBuilderBuilder for Globber instances.org.apache.hadoop.fs.GlobExpanderA filter for POSIX glob pattern with brace expansions.org.apache.hadoop.fs.GlobPatternA class for POSIX glob pattern with brace expansions.org.apache.hadoop.fs.HardLinkClass for creating hardlinks.org.apache.hadoop.fs.HardLink.LinkStatsHardLink statistics counters and methods.org.apache.hadoop.fs.HarFileSystemThis is an implementation of the Hadoop Archive Filesystem.org.apache.hadoop.fs.HarFsorg.apache.hadoop.fs.HasEnhancedByteBufferAccessFSDataInputStreams implement this interface to provide enhanced byte buffer access.org.apache.hadoop.fs.HasFileDescriptorHaving a FileDescriptororg.apache.hadoop.fs.Hdfsorg.apache.hadoop.fs.HdfsBlockLocationWrapper forBlockLocationthat also includes aLocatedBlock, allowing more detailed queries to the datanode about a block.org.apache.hadoop.fs.InternalOperationsThis method allows access to Package-scoped operations from classes in org.apache.hadoop.fs.impl and other file system implementations in the hadoop modules.Path string is invalid either because it has invalid characters or due to other file system specific reasons.Thrown when the constraints enoded in aPathHandledo not hold.org.apache.hadoop.fs.InvalidRequestExceptionThrown when the user makes a malformed request, for example missing required parameters or parameters that are not valid.org.apache.hadoop.fs.LeaseRecoverableWhether the given Path of the FileSystem has the capability to perform lease recovery.org.apache.hadoop.fs.LocalDirAllocatorAn implementation of a round-robin scheme for disk allocation for creating files.Implement the FileSystem API for the checksumed local filesystem.org.apache.hadoop.fs.LocalFileSystemConfigKeysThis class contains constants for configuration keys used in the local file system, raw local fs and checksum fs.org.apache.hadoop.fs.LocalFileSystemPathHandleOpaque handle to an entity in a FileSystem.This class defines a FileStatus that includes a file's block locations.org.apache.hadoop.fs.MD5MD5CRC32CastagnoliFileChecksumFor CRC32 with the Castagnoli polynomialorg.apache.hadoop.fs.MD5MD5CRC32FileChecksumMD5 of MD5 of CRC32.org.apache.hadoop.fs.MD5MD5CRC32GzipFileChecksumFor CRC32 with the Gzip polynomialMultipartUploader is an interface for copying files multipart and across multiple nodes.org.apache.hadoop.fs.MultipartUploaderBuilder<S extends MultipartUploader,B extends org.apache.hadoop.fs.MultipartUploaderBuilder<S, B>> Builder interface for Multipart readers.This class contains options related to file system operations.Enum for indicating what mode to use when combining chunk and block checksums to define an aggregate FileChecksum.org.apache.hadoop.fs.Options.ChecksumOptThis is used in FileSystem and FileContext to specify checksum options.The standardcreateFile()options.org.apache.hadoop.fs.Options.CreateOptsClass to support the varargs for create() options.org.apache.hadoop.fs.Options.CreateOpts.BlockSizeorg.apache.hadoop.fs.Options.CreateOpts.BufferSizeorg.apache.hadoop.fs.Options.CreateOpts.BytesPerChecksumThis is not needed if ChecksumParam is specified.org.apache.hadoop.fs.Options.CreateOpts.ChecksumParamorg.apache.hadoop.fs.Options.CreateOpts.CreateParentorg.apache.hadoop.fs.Options.CreateOpts.Permsorg.apache.hadoop.fs.Options.CreateOpts.Progressorg.apache.hadoop.fs.Options.CreateOpts.ReplicationFactororg.apache.hadoop.fs.Options.HandleOptOptions for creatingPathHandlereferences.org.apache.hadoop.fs.Options.HandleOpt.DataOption storing standard constraints on data.org.apache.hadoop.fs.Options.HandleOpt.LocationOption storing standard constraints on location.The standardopenFile()options.Enum to support the varargs for rename() optionsIndicates that the parent of specified Path is not a directory as expected.Opaque, serializable reference to a part id for multipart uploads.PartialListing<T extends FileStatus>A partial listing of the children of a parent directory.Names a file or directory in aFileSystem.org.apache.hadoop.fs.PathAccessDeniedExceptionEACCESorg.apache.hadoop.fs.PathCapabilitiesThe Path counterpoint toStreamCapabilities; a query to see if, a FileSystem/FileContext instance has a specific capability under the given path.org.apache.hadoop.fs.PathExistsExceptionException corresponding to File Exists - EEXISTSOpaque, serializable reference to an entity in the FileSystem.org.apache.hadoop.fs.PathIOExceptionExceptions based on standard posix/linux style exceptions for path related errors.org.apache.hadoop.fs.PathIsDirectoryExceptionEISDIRorg.apache.hadoop.fs.PathIsNotDirectoryExceptionENOTDIRorg.apache.hadoop.fs.PathIsNotEmptyDirectoryExceptionGenerated by rm commandsorg.apache.hadoop.fs.PathNotFoundExceptionException corresponding to path not found: ENOENT/ENOFILEorg.apache.hadoop.fs.PathOperationExceptionENOTSUPorg.apache.hadoop.fs.PathPermissionExceptionException corresponding to Operation Not Permitted - EPERMStream that permits positional reading.Store the quota usage of a directory.org.apache.hadoop.fs.QuotaUsage.BuilderBuilder class for QuotaUsage.Implement the FileSystem API for the raw local filesystem.org.apache.hadoop.fs.RawPathHandleGeneric format of FileStatus objects.Options that can be used when reading from a FileSystem.org.apache.hadoop.fs.RemoteIterator<E>An iterator over a collection whose elements need to be fetched remotelyorg.apache.hadoop.fs.SafeModeWhether the given filesystem is in any status of safe mode.An identical copy from org.apache.hadoop.hdfs.protocol.HdfsConstants.SafeModeAction, that helps the other file system implementation to defineSafeMode.Stream that permits seeking.org.apache.hadoop.fs.StatWrapper for the Unix stat(1) command.StorageStatistics contains statistics data for a FileSystem or FileContext instance.org.apache.hadoop.fs.StorageStatistics.CommonStatisticNamesThese are common statistic names.org.apache.hadoop.fs.StorageStatistics.LongStatisticA 64-bit storage statistic.Defines the types of supported storage media.Interface to query streams for supported capabilities.Deprecated.Static methods to implement policies forStreamCapabilities.AbstractFileSystem implementation for HDFS over the web (secure).This is the interface for flush/sync operations.Provides a trash facility which supports pluggable Trash policies.This interface is used for implementing different Trash policies.org.apache.hadoop.fs.TrashPolicyDefaultProvides a trash feature.org.apache.hadoop.fs.UnionStorageStatisticsA StorageStatistics instance which combines the outputs of several other StorageStatistics instances.org.apache.hadoop.fs.UnresolvedLinkExceptionThrown when a symbolic link is encountered in a path.File system for a given file system name/scheme is not supportedMultipartUploader for a given file system name/scheme is not supported.Opaque, serializable reference to an uploadId for multipart uploads.org.apache.hadoop.fs.VectoredReadUtilsUtility class which implements helper methods used in vectored IO implementation.AbstractFileSystem implementation for HDFS over the web.org.apache.hadoop.fs.WindowsGetSpaceUsedClass to tell the size of a path on windows.org.apache.hadoop.fs.WithErasureCodingFilesystems that support EC can implement this interface.org.apache.hadoop.fs.XAttrXAttr is the POSIX Extended Attribute model similar to that found in traditional Operating Systems.org.apache.hadoop.fs.XAttr.BuilderThe value ofXAttris byte[], this class is to covert byte[] to some kind of string representation or convert back.org.apache.hadoop.fs.ZeroCopyUnavailableException
HardLink