Uses of Class
org.apache.hadoop.hdfs.util.DataTransferThrottler
Packages that use DataTransferThrottler
Package
Description
-
Uses of DataTransferThrottler in org.apache.hadoop.hdfs.server.common
Methods in org.apache.hadoop.hdfs.server.common with parameters of type DataTransferThrottlerModifier and TypeMethodDescriptionstatic org.apache.hadoop.io.MD5HashUtil.doGetUrl(URL url, List<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.MD5HashUtil.receiveFile(String url, List<File> localPaths, Storage dstStorage, boolean getChecksum, long advertisedSize, org.apache.hadoop.io.MD5Hash advertisedDigest, String fsImageName, InputStream stream, DataTransferThrottler throttler) Receives file at the url location from the input stream and puts them in the specified destination storage location. -
Uses of DataTransferThrottler in org.apache.hadoop.hdfs.server.datanode
Methods in org.apache.hadoop.hdfs.server.datanode that return DataTransferThrottlerModifier and TypeMethodDescriptionDataNode.getEcReconstuctReadThrottler()DataNode.getEcReconstuctWriteThrottler() -
Uses of DataTransferThrottler in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that return DataTransferThrottlerModifier and TypeMethodDescriptionstatic DataTransferThrottlerImageServlet.getThrottler(org.apache.hadoop.conf.Configuration conf) Construct a throttler from confstatic DataTransferThrottlerImageServlet.getThrottlerForBootstrapStandby(org.apache.hadoop.conf.Configuration conf) Methods in org.apache.hadoop.hdfs.server.namenode with parameters of type DataTransferThrottlerModifier and TypeMethodDescriptionstatic voidTransferFsImage.copyFileToStream(OutputStream out, File localfile, 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.