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
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.hadoop.conf.Configurationprivate org.apache.hadoop.fs.FileSystemprivate static final org.slf4j.Loggerprivate static final Randomprivate static final HBaseTestingUtilityprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Object[]>voidsetUp()voidprivate voidtestHFileFormatV3Internals(boolean useTags) voidprivate voidtestMidKeyInHFileInternals(boolean useTags) private voidwriteDataAndReadFromHFile(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
-