Package org.apache.hadoop.hbase.wal
package org.apache.hadoop.hbase.wal
-
ClassDescriptionThis is a utility class, used by tests, which fails operation specified by FailureType enumCreate a non-abstract "proxy" for FileSystem because FileSystem is an abstract class and not an interface.A WAL Provider that returns a single thread safe WAL that optionally can skip parts of our normal interactions with HDFS.Presumes init will be called by a single thread prior to any access of other methods.A helper class for writing UTs, where we will eat the EOF and return null when reaching EOF, so in UTs we do not need to deal with partial WAL files if this does not affect the correctness.Testcase for HBASE-22539Testcase for HBASE-22539In this test, we write a small WAL file first, and then generate partial WAL file which length is in range [0, fileLength)(we test all the possible length in the range), to see if we can successfully get the completed entries, and also get an EOF at the end.Testcase for HBASE-21503.WAL tests that can be reused across providers.A custom WALCellCodec in which we can inject failure.A proxy around FSDataInputStream which can report if close() was called.Simple testing of a few WAL methods.Testing
WAL
splitting code.Testcase for HBASE-21843.Testcase for HBASE-22539This class runs performance benchmarks forWAL
.