Package org.apache.hadoop.fs

An abstract file system API.


Interface Summary
FsConstants FileSystem related constants.
PositionedReadable Stream that permits positional reading.
RemoteIterator<E> An iterator over a collection whose elements need to be fetched remotely
Seekable Stream that permits seeking.
Syncable This interface for flush/sync operation.

Class Summary
AbstractFileSystem This class provides an interface for implementors of a Hadoop file system (analogous to the VFS of Unix).
AvroFSInput Adapts an FSDataInputStream to Avro's SeekableInput interface.
ChecksumFileSystem Abstract Checksumed FileSystem.
CommonConfigurationKeysPublic This class contains constants for configuration keys used in the common code.
ContentSummary Store the summary of a content (a directory or a file).
FileChecksum An abstract class representing file checksums for files.
FileContext The FileContext class provides an interface to the application writer for using the Hadoop file system.
FileStatus Interface that represents the client side information for a file.
FileSystem An abstract base class for a fairly generic filesystem.
FileUtil A collection of file-processing util methods
FileUtil.HardLink Deprecated. Use HardLink
FilterFileSystem A FilterFileSystem contains some other file system, which it uses as its basic file system, possibly transforming the data along the way or providing additional functionality.
FSDataInputStream Utility that wraps a FSInputStream in a DataInputStream and buffers input through a BufferedInputStream.
FSDataOutputStream Utility that wraps a OutputStream in a DataOutputStream, buffers output through a BufferedOutputStream and creates a checksum file.
FsServerDefaults Provides server default configuration values to clients.
FsShellPermissions.Chgrp Used to change group of files
FsShellPermissions.Chmod The pattern is almost as flexible as mode allowed by chmod shell command.
FsShellPermissions.Chown Used to change owner and/or group of files
FsStatus This class is used to represent the capacity, free and used space on a FileSystem.
GlobFilter A filter for POSIX glob pattern with brace expansions.
HardLink Class for creating hardlinks.
HardLink.LinkStats HardLink statistics counters and methods.
HarFileSystem This is an implementation of the Hadoop Archive Filesystem.
LocalFileSystem Implement the FileSystem API for the checksumed local filesystem.
LocatedFileStatus This class defines a FileStatus that includes a file's block locations.
MD5MD5CRC32CastagnoliFileChecksum For CRC32 with the Castagnoli polynomial
MD5MD5CRC32GzipFileChecksum For CRC32 with the Gzip polynomial
Options This class contains options related to file system operations.
Options.ChecksumOpt This is used in FileSystem and FileContext to specify checksum options.
Options.CreateOpts Class to support the varargs for create() options.
Options.CreateOpts.BytesPerChecksum This is not needed if ChecksumParam is specified.
Path Names a file or directory in a FileSystem.
RawLocalFileSystem Implement the FileSystem API for the raw local filesystem.
Trash Provides a trash facility which supports pluggable Trash policies.
TrashPolicy This interface is used for implementing different Trash policies.

Enum Summary
CreateFlag CreateFlag specifies the file create semantic.
Options.Rename Enum to support the varargs for rename() options

Exception Summary
ChecksumException Thrown for checksum errors.
FileAlreadyExistsException Used when target file already exists for any operation and is not configured to be overwritten.
InvalidPathException Path string is invalid either because it has invalid characters or due to other file system specific reasons.
ParentNotDirectoryException Indicates that the parent of specified Path is not a directory as expected.
UnsupportedFileSystemException File system for a given file system name/scheme is not supported

Error Summary
FSError Thrown for unexpected filesystem errors, presumed to reflect disk errors in the native filesystem.

Package org.apache.hadoop.fs Description

An abstract file system API.

Copyright © 2013 Apache Software Foundation. All Rights Reserved.