Package org.apache.hadoop.tools.util
package org.apache.hadoop.tools.util
-
ClassDescriptionorg.apache.hadoop.tools.util.DistCpUtilsUtility functions used in DistCp.org.apache.hadoop.tools.util.ProducerConsumer<T,
R> ProducerConsumer class encapsulates input and output queues and a thread-pool of Workers that loop on WorkRequest<T> inputQueue and for each consumed WorkRequest Workers invoke WorkRequestProcessor.processItem() and output resulting WorkReport<R> to the outputQueue.org.apache.hadoop.tools.util.RetriableCommandThis class represents commands that be retried on failure, in a configurable manner.org.apache.hadoop.tools.util.ThrottledInputStreamThe ThrottleInputStream provides bandwidth throttling on a specified InputStream.org.apache.hadoop.tools.util.WorkReport<T>WorkReport<T> is a simple container for items of class T and its corresponding retry counter that indicates how many times this item was previously attempted to be processed.org.apache.hadoop.tools.util.WorkRequest<T>WorkRequest<T> is a simple container for items of class T and its corresponding retry counter that indicates how many times this item was previously attempted to be processed.org.apache.hadoop.tools.util.WorkRequestProcessor<T,R> Interface for ProducerConsumer worker loop.