public class HadoopFileSystemURLStreamHandler extends URLStreamHandler implements org.apache.hadoop.conf.Configurable
URLStreamHandler for handling Hadoop filesystem URLs,
most commonly those with the hdfs scheme.| Constructor and Description |
|---|
HadoopFileSystemURLStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
static org.apache.hadoop.conf.Configuration |
getDefaultConf() |
protected URLConnection |
openConnection(URL url) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
static void |
setDefaultConf(org.apache.hadoop.conf.Configuration defaultConf) |
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalFormpublic static org.apache.hadoop.conf.Configuration getDefaultConf()
public static void setDefaultConf(org.apache.hadoop.conf.Configuration defaultConf)
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurableprotected URLConnection openConnection(URL url) throws IOException
openConnection in class URLStreamHandlerIOExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.