[ 
https://issues.apache.org/jira/browse/HADOOP-6087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ravi Gummadi updated HADOOP-6087:
---------------------------------

    Attachment: d_bw.patch

Attaching patch that supports the option  -bwlimit <bandwidthInBytesPerSec>.

A separate thread in each map monitors the bandwidth by perodically calculating 
the available bandwidth for this map and sets sleeptime for the copy-thread. 
copy-thread sleeps for that amount of time and starts copying again.
distcp.bandwidth.limit  is the config property equivalent to -bwlimit option.
distcp.bandwidth.monitor.interval(with default value of 60000millisec) is the 
period for the bandwidth monitor thread to execute periodically and set the 
sleeptime.

Please review and provide your comments.

> distcp can support bandwidth limiting
> -------------------------------------
>
>                 Key: HADOOP-6087
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6087
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: tools/distcp
>    Affects Versions: 0.21.0
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>             Fix For: 0.21.0
>
>         Attachments: d_bw.patch
>
>
> distcp should support an option for user to specify the bandwidth limit for 
> the distcp job.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to