@VisibleForTesting protected class WebHdfsFileSystem.ReadRunner extends Object
Modifier and Type | Field and Description |
---|---|
protected ExcludeDatanodesParam |
excludeDatanodes |
protected HttpOpParam.Op |
op |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected HttpURLConnection |
connect(URL url)
Two-step requests redirected to a DN
Create/Append:
Step 1) Submit a Http request with neither auto-redirect nor data.
|
protected org.apache.hadoop.fs.FileEncryptionInfo |
getFileEncryptionInfo() |
protected InputStream |
getInputStream() |
protected URL |
getUrl() |
protected void |
setInputStream(InputStream inStream) |
protected void |
updateURLParameters(Param<?,?>... p) |
protected final HttpOpParam.Op op
protected ExcludeDatanodesParam excludeDatanodes
public void close() throws IOException
IOException
protected URL getUrl() throws IOException
IOException
protected HttpURLConnection connect(URL url) throws IOException
IOException
@VisibleForTesting protected InputStream getInputStream()
@VisibleForTesting protected void setInputStream(InputStream inStream)
protected org.apache.hadoop.fs.FileEncryptionInfo getFileEncryptionInfo()
protected void updateURLParameters(Param<?,?>... p)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.