Package org.apache.hadoop.hbase.io.hfile
Class TestHFileWriterV3
java.lang.Object
org.apache.hadoop.hbase.io.hfile.TestHFileWriterV3
Testing writing a version 3
HFile
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private org.apache.hadoop.fs.FileSystem
private static final org.slf4j.Logger
private static final Random
private static final HBaseTestingUtil
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Object[]>
void
setUp()
void
private void
testHFileFormatV3Internals
(boolean useTags) void
private void
testMidKeyInHFileInternals
(boolean useTags) private void
writeDataAndReadFromHFile
(org.apache.hadoop.fs.Path hfilePath, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compressAlgo, int entryCount, boolean findMidKey, boolean useTags)
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
RNG
-
conf
-
fs
-
useTags
-
-
Constructor Details
-
TestHFileWriterV3
-
-
Method Details
-
parameters
-
setUp
- Throws:
IOException
-
testHFileFormatV3
- Throws:
IOException
-
testHFileFormatV3Internals
- Throws:
IOException
-
testMidKeyInHFile
- Throws:
IOException
-
testMidKeyInHFileInternals
- Throws:
IOException
-
writeDataAndReadFromHFile
private void writeDataAndReadFromHFile(org.apache.hadoop.fs.Path hfilePath, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compressAlgo, int entryCount, boolean findMidKey, boolean useTags) throws IOException - Throws:
IOException
-