public class TestHFileBlockCompatibility extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestHFileBlockCompatibility.Writer
This is the version of the HFileBlock.Writer that is used to
create V2 blocks with minor version 0.
|
| Constructor and Description |
|---|
TestHFileBlockCompatibility(boolean includesMemstoreTS,
boolean includesTag) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createTestV1Block(Compression.Algorithm algo) |
static Collection<Object[]> |
parameters() |
void |
setUp() |
void |
testDataBlockEncoding()
Test encoding/decoding data blocks.
|
void |
testGzipCompression() |
void |
testNoCompression() |
void |
testReaderV2() |
public TestHFileBlockCompatibility(boolean includesMemstoreTS,
boolean includesTag)
public static Collection<Object[]> parameters()
public void setUp()
throws IOException
IOExceptionpublic byte[] createTestV1Block(Compression.Algorithm algo) throws IOException
IOExceptionpublic void testNoCompression()
throws IOException
IOExceptionpublic void testGzipCompression()
throws IOException
IOExceptionpublic void testReaderV2()
throws IOException
IOExceptionpublic void testDataBlockEncoding()
throws IOException
IOException - a bug or a problem with temporary files.