HBASE-1739 hbase-1683 broke splitting; only split three logs no matter what N was
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@800617 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9246691f44
commit
557bd85bc4
|
@ -313,6 +313,8 @@ Release 0.20.0 - Unreleased
|
|||
HBASE-1604 HBaseClient.getConnection() may return a broken connection
|
||||
without throwing an exception (Eugene Kirpichov via Stack)
|
||||
HBASE-1737 Regions unbalanced when adding new node
|
||||
HBASE-1739 hbase-1683 broke splitting; only split three logs no matter
|
||||
what N was
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||
|
|
|
@ -860,7 +860,7 @@ public class HLog implements HConstants, Syncable {
|
|||
// Stop at logfiles.length when it's the last step
|
||||
int endIndex = step == maxSteps - 1? logfiles.length:
|
||||
step * concurrentLogReads + concurrentLogReads;
|
||||
for (int i = (step * 10); i < endIndex; i++) {
|
||||
for (int i = (step * concurrentLogReads); i < endIndex; i++) {
|
||||
// Check for possibly empty file. With appends, currently Hadoop
|
||||
// reports a zero length even if the file has been sync'd. Revisit if
|
||||
// HADOOP-4751 is committed.
|
||||
|
|
Loading…
Reference in New Issue