Package | Description |
---|---|
org.apache.hadoop.conf |
Configuration of system parameters.
|
org.apache.hadoop.fs | |
org.apache.hadoop.util |
Common utilities.
|
Modifier and Type | Method and Description |
---|---|
Path |
Configuration.getLocalPath(String dirsProp,
String path)
Returns a local file under a directory named in dirsProp with
the given path.
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.addDefaultResource(Path file)
Add a default resource.
|
void |
Configuration.addFinalResource(Path file)
Add a final resource.
|
Modifier and Type | Method and Description |
---|---|
Path |
Path.getParent()
Returns the parent of a path or null if at root.
|
Path |
Path.suffix(String suffix)
Adds a suffix to the final name in the path.
|
Constructor and Description |
---|
Path(Path parent,
Path child)
Resolve a child path against a parent path.
|
Path(Path parent,
String child)
Resolve a child path against a parent path.
|
Path(String parent,
Path child)
Resolve a child path against a parent path.
|
Modifier and Type | Method and Description |
---|---|
static Path[] |
StringUtils.stringToPath(String[] str) |
Copyright © 2007, 2014, Oracle and/or its affiliates. All rights reserved.