Description
This capability was first brought up in this thread:
http://search-hadoop.com/m/DHED4Td8Xb1
The rewritten distcp already provides this capability.
See MAPREDUCE-2765
distcp implementation utilizes ThrottledInputStream which provides bandwidth throttling on a specified InputStream.
As a first step, we can
- add an option to ExportSnapshot which expresses bandwidth per map in MB
- utilize ThrottledInputStream in ExportSnapshot#ExportMapper#copyFile().