HBASE-2786 TestHLog.testSplit hangs (Nicolas Spiegelberg via JD)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957712 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9dd7a6bccc
commit
24b7c5404b
|
@ -743,6 +743,7 @@ Release 0.21.0 - Unreleased
|
||||||
HBASE-2783 Quick edit of 'Getting Started' for development release 0.89.x
|
HBASE-2783 Quick edit of 'Getting Started' for development release 0.89.x
|
||||||
HBASE-2345 Add Test in 0.20 to Check for proper HDFS-200 append/sync support
|
HBASE-2345 Add Test in 0.20 to Check for proper HDFS-200 append/sync support
|
||||||
(Nicolas Spiegelberg via JD)
|
(Nicolas Spiegelberg via JD)
|
||||||
|
HBASE-2786 TestHLog.testSplit hangs (Nicolas Spiegelberg via JD)
|
||||||
|
|
||||||
NEW FEATURES
|
NEW FEATURES
|
||||||
HBASE-1961 HBase EC2 scripts
|
HBASE-1961 HBase EC2 scripts
|
||||||
|
|
|
@ -38,9 +38,6 @@ import org.apache.hadoop.hbase.HConstants;
|
||||||
import org.apache.hadoop.hbase.HRegionInfo;
|
import org.apache.hadoop.hbase.HRegionInfo;
|
||||||
import org.apache.hadoop.hbase.HTableDescriptor;
|
import org.apache.hadoop.hbase.HTableDescriptor;
|
||||||
import org.apache.hadoop.hbase.KeyValue;
|
import org.apache.hadoop.hbase.KeyValue;
|
||||||
import org.apache.hadoop.hbase.regionserver.wal.HLog;
|
|
||||||
import org.apache.hadoop.hbase.regionserver.wal.HLogKey;
|
|
||||||
import org.apache.hadoop.hbase.regionserver.wal.WALEdit;
|
|
||||||
import org.apache.hadoop.hbase.regionserver.wal.HLog.Reader;
|
import org.apache.hadoop.hbase.regionserver.wal.HLog.Reader;
|
||||||
import org.apache.hadoop.hbase.util.Bytes;
|
import org.apache.hadoop.hbase.util.Bytes;
|
||||||
import org.apache.hadoop.hbase.util.FSUtils;
|
import org.apache.hadoop.hbase.util.FSUtils;
|
||||||
|
@ -141,13 +138,10 @@ public class TestHLog extends HBaseTestCase {
|
||||||
}
|
}
|
||||||
log.rollWriter();
|
log.rollWriter();
|
||||||
}
|
}
|
||||||
Configuration newConf = new Configuration(this.conf);
|
log.close();
|
||||||
// We disable appends here because the last file is still being
|
|
||||||
// considered as under construction by the same DFSClient.
|
|
||||||
newConf.setBoolean("dfs.support.append", false);
|
|
||||||
Path splitsdir = new Path(this.dir, "splits");
|
Path splitsdir = new Path(this.dir, "splits");
|
||||||
List<Path> splits =
|
List<Path> splits =
|
||||||
HLog.splitLog(splitsdir, logdir, this.oldLogDir, this.fs, newConf);
|
HLog.splitLog(splitsdir, logdir, this.oldLogDir, this.fs, conf);
|
||||||
verifySplits(splits, howmany);
|
verifySplits(splits, howmany);
|
||||||
log = null;
|
log = null;
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue