[ https://issues.apache.org/jira/browse/HBASE-9501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897550#comment-13897550 ]
Hudson commented on HBASE-9501: ------------------------------- FAILURE: Integrated in HBase-0.98 #147 (See [https://builds.apache.org/job/HBase-0.98/147/]) HBASE-9501 Provide throttling for replication (Feng Honghua via JD) (jdcryans: rev 1566922) * /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java * /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationThrottler.java * /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationThrottler.java > Provide throttling for replication > ---------------------------------- > > Key: HBASE-9501 > URL: https://issues.apache.org/jira/browse/HBASE-9501 > Project: HBase > Issue Type: Improvement > Components: Replication > Reporter: Feng Honghua > Assignee: Feng Honghua > Fix For: 0.98.1, 0.99.0 > > Attachments: HBASE-9501-trunk_v0.patch, HBASE-9501-trunk_v1.patch, > HBASE-9501-trunk_v2.patch, HBASE-9501-trunk_v3.patch, > HBASE-9501-trunk_v4.patch > > > When we disable a peer for a time of period, and then enable it, the > ReplicationSource in master cluster will push the accumulated hlog entries > during the disabled interval to the re-enabled peer cluster at full speed. > If the bandwidth of the two clusters is shared by different applications, the > push at full speed for replication can use all the bandwidth and severely > influence other applications. > Though there are two config replication.source.size.capacity and > replication.source.nb.capacity to tweak the batch size each time a push > delivers, but if decrease these two configs, the number of pushes increase, > and all these pushes proceed continuously without pause. And no obvious help > for the bandwidth throttling. > From bandwidth-sharing and push-speed perspective, it's more reasonable to > provide a bandwidth up limit for each peer push channel, and within that > limit, peer can choose a big batch size for each push for bandwidth > efficiency. > Any opinion? -- This message was sent by Atlassian JIRA (v6.1.5#6160)