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
IOException
public byte[] createTestV1Block(Compression.Algorithm algo) throws IOException
IOException
public void testNoCompression() throws IOException
IOException
public void testGzipCompression() throws IOException
IOException
public void testReaderV2() throws IOException
IOException
public void testDataBlockEncoding() throws IOException
IOException
- a bug or a problem with temporary files.