Class TestHashTable
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestHashTable
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestHashTable
extends Object
Basic test for the HashTable M/R tool
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidvoidtestHashTable(org.junit.jupiter.api.TestInfo testInfo) voidtestHashTableWithSha256(org.junit.jupiter.api.TestInfo testInfo) voidtestManifestWithoutAlgorithmDefaultsToMd5(org.junit.jupiter.api.TestInfo testInfo) A manifest written by an older HashTable does not carry the hashAlgorithm property.
-
Field Details
-
LOG
-
TEST_UTIL
-
-
Constructor Details
-
TestHashTable
public TestHashTable()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
testHashTable
- Throws:
Exception
-
testHashTableWithSha256
- Throws:
Exception
-
testManifestWithoutAlgorithmDefaultsToMd5
@Test public void testManifestWithoutAlgorithmDefaultsToMd5(org.junit.jupiter.api.TestInfo testInfo) throws Exception A manifest written by an older HashTable does not carry the hashAlgorithm property. Reading such a manifest must default to MD5 so existing on-disk hash data stays usable.- Throws:
Exception
-