public class TestHFileBlockCompatibility
extends java.lang.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 java.util.Collection<java.lang.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 java.util.Collection<java.lang.Object[]> parameters()
public void setUp()
throws java.io.IOException
java.io.IOExceptionpublic byte[] createTestV1Block(Compression.Algorithm algo) throws java.io.IOException
java.io.IOExceptionpublic void testNoCompression()
throws java.io.IOException
java.io.IOExceptionpublic void testGzipCompression()
throws java.io.IOException
java.io.IOExceptionpublic void testReaderV2()
throws java.io.IOException
java.io.IOExceptionpublic void testDataBlockEncoding()
throws java.io.IOException
java.io.IOException - a bug or a problem with temporary files.