| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
| org.apache.hadoop.mapreduce.v2.jobhistory | |
| org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer | |
| org.apache.hadoop.yarn.util |
| Modifier and Type | Method and Description |
|---|---|
static FileContext |
FileContext.getFileContext()
Create a FileContext using the default config read from the
$HADOOP_CONFIG/core.xml, Unspecified key-values for config are defaulted
from core-defaults.xml in the release jar.
|
protected static FileContext |
FileContext.getFileContext(AbstractFileSystem defaultFS)
Create a FileContext for specified file system using the default config.
|
static FileContext |
FileContext.getFileContext(AbstractFileSystem defFS,
Configuration aConf)
Create a FileContext with specified FS as default using the specified
config.
|
static FileContext |
FileContext.getFileContext(Configuration aConf)
Create a FileContext using the passed config.
|
static FileContext |
FileContext.getFileContext(URI defaultFsUri)
Create a FileContext for specified URI using the default config.
|
static FileContext |
FileContext.getFileContext(URI defaultFsUri,
Configuration aConf)
Create a FileContext for specified default URI using the specified config.
|
static FileContext |
FileContext.getLocalFSFileContext() |
static FileContext |
FileContext.getLocalFSFileContext(Configuration aConf) |
| Modifier and Type | Method and Description |
|---|---|
T |
FSLinkResolver.resolve(FileContext fc,
Path path)
Performs the operation specified by the next function, calling it
repeatedly until all symlinks in the given path are resolved.
|
| Constructor and Description |
|---|
AvroFSInput(FileContext fc,
Path p)
Construct given a
FileContext and a Path. |
| Modifier and Type | Method and Description |
|---|---|
static SequenceFile.Writer |
SequenceFile.createWriter(FileContext fc,
Configuration conf,
Path name,
Class keyClass,
Class valClass,
SequenceFile.CompressionType compressionType,
CompressionCodec codec,
SequenceFile.Metadata metadata,
EnumSet<CreateFlag> createFlag,
Options.CreateOpts... opts)
Construct the preferred type of SequenceFile Writer.
|
| Modifier and Type | Method and Description |
|---|---|
static List<FileStatus> |
JobHistoryUtils.localGlobber(FileContext fc,
Path root,
String tail) |
static List<FileStatus> |
JobHistoryUtils.localGlobber(FileContext fc,
Path root,
String tail,
PathFilter filter) |
static List<FileStatus> |
JobHistoryUtils.localGlobber(FileContext fc,
Path root,
String tail,
PathFilter filter,
AtomicBoolean hasFlatFiles) |
| Constructor and Description |
|---|
ContainerLocalizer(FileContext lfs,
String user,
String appId,
String localizerId,
List<Path> localDirs,
RecordFactory recordFactory) |
| Constructor and Description |
|---|
FSDownload(FileContext files,
UserGroupInformation ugi,
Configuration conf,
Path destDirPath,
LocalResource resource) |
Copyright © 2013 Apache Software Foundation. All rights reserved.