public class HadoopConfigured
extends java.lang.Object
Constructor and Description |
---|
HadoopConfigured() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
org.apache.hadoop.fs.FileSystem |
getFileSystem() |
org.apache.hadoop.fs.FileSystem |
getFileSystem(java.lang.String path)
If the path is a valid URI we lookup the file system based on the uri, if
it is not we use the configured file system.
|
org.apache.hadoop.fs.FileSystem |
getFileSystem(java.net.URI uri) |
public org.apache.hadoop.conf.Configuration getConf()
public org.apache.hadoop.fs.FileSystem getFileSystem() throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileSystem getFileSystem(java.net.URI uri) throws java.io.IOException
java.io.IOException
public org.apache.hadoop.fs.FileSystem getFileSystem(java.lang.String path) throws java.io.IOException
java.io.IOException
Copyright © 2012 Bixo Labs