falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Miklavcic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-391) Add ability to set mapBandwidth
Date Wed, 16 Apr 2014 12:54:17 GMT

    [ https://issues.apache.org/jira/browse/FALCON-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13970734#comment-13970734
] 

Michael Miklavcic commented on FALCON-391:
------------------------------------------

We could do that [~shwethags]. We'll need to modify org/apache/falcon/replication/FeedReplicator.java,
which requires modifying the external dependency "hadoop-distcp-0.9.jar"
{code}
/**
   * Set per map bandwidth (MB)
   *
   * @param mapBandwidth - per map bandwidth
   */
  public void setMapBandwidth(int mapBandwidth) {
    if (mapBandwidth <= 0) {
      throw new IllegalArgumentException("Bandwidth " +
          mapBandwidth + " is invalid (should be > 0)");
    }
    this.mapBandwidth = mapBandwidth * 1024;
  }
{code}

> Add ability to set mapBandwidth
> -------------------------------
>
>                 Key: FALCON-391
>                 URL: https://issues.apache.org/jira/browse/FALCON-391
>             Project: Falcon
>          Issue Type: Improvement
>          Components: feed, replication
>    Affects Versions: 0.4, 0.5
>            Reporter: Michael Miklavcic
>            Assignee: Michael Miklavcic
>              Labels: features, patch
>             Fix For: 0.5
>
>         Attachments: FALCON-391_v1.patch
>
>
> Related to https://issues.apache.org/jira/browse/FALCON-342



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message