HBASE-4685 TestDistributedLogSplitting.testOrphanLogCreation failing because of ArithmeticException: / by zero.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1190048 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
421ae8504c
commit
1a78bd8828
|
@ -410,6 +410,8 @@ Release 0.92.0 - Unreleased
|
|||
HBASE-4634 "test.build.data" property overused leading to write data at the
|
||||
wrong place (nkeywal)
|
||||
HBASE-4388 Second start after migration from 90 to trunk crashes
|
||||
HBASE-4685 TestDistributedLogSplitting.testOrphanLogCreation failing because
|
||||
of ArithmeticException: / by zero.
|
||||
|
||||
TESTS
|
||||
HBASE-4450 test for number of blocks read: to serve as baseline for expected
|
||||
|
|
|
@ -360,6 +360,7 @@ public class TestDistributedLogSplitting {
|
|||
int n = hris.size();
|
||||
int[] counts = new int[n];
|
||||
int j = 0;
|
||||
if (n > 0) {
|
||||
for (int i = 0; i < num_edits; i += 1) {
|
||||
WALEdit e = new WALEdit();
|
||||
byte [] row = Bytes.toBytes("r" + Integer.toString(i));
|
||||
|
@ -375,6 +376,7 @@ public class TestDistributedLogSplitting {
|
|||
// log.sync();
|
||||
// }
|
||||
}
|
||||
}
|
||||
log.sync();
|
||||
log.close();
|
||||
for (int i = 0; i < n; i++) {
|
||||
|
|
Loading…
Reference in New Issue