| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.common | |
| org.apache.hadoop.hdfs.server.datanode | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.io.MD5Hash |
Util.doGetUrl(java.net.URL url,
java.util.List<java.io.File> localPaths,
Storage dstStorage,
boolean getChecksum,
int timeout,
DataTransferThrottler throttler) |
Downloads the files at the specified url location into destination
storage.
|
static org.apache.hadoop.io.MD5Hash |
Util.receiveFile(java.lang.String url,
java.util.List<java.io.File> localPaths,
Storage dstStorage,
boolean getChecksum,
long advertisedSize,
org.apache.hadoop.io.MD5Hash advertisedDigest,
java.lang.String fsImageName,
java.io.InputStream stream,
DataTransferThrottler throttler) |
Receives file at the url location from the input stream and puts them in
the specified destination storage location.
|
| Modifier and Type | Method | Description |
|---|---|---|
DataTransferThrottler |
DataNode.getEcReconstuctReadThrottler() |
|
DataTransferThrottler |
DataNode.getEcReconstuctWriteThrottler() |
| Modifier and Type | Method | Description |
|---|---|---|
static DataTransferThrottler |
ImageServlet.getThrottler(org.apache.hadoop.conf.Configuration conf) |
Construct a throttler from conf
|
static DataTransferThrottler |
ImageServlet.getThrottlerForBootstrapStandby(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
TransferFsImage.copyFileToStream(java.io.OutputStream out,
java.io.File localfile,
java.io.FileInputStream infile,
DataTransferThrottler throttler) |
A server-side method to respond to a getfile http request
Copies the contents of the local file into the output stream.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.