Package org.apache.hadoop.hbase.util
package org.apache.hadoop.hbase.util
-
ClassDescriptionThis is the base class for HBaseFsck's ability to detect reasons for inconsistent tables.Utility class to check whether a given class conforms to builder-style: Foo foo = new Foo() .setBar(bar) .setBaz(baz)Some utilities to help class loader testingA blocking queue implementation for adding a constant delay.Used by tests to inject an edge into the manager.Determines HBase home path from either class or jar directoryTest helper for testing archiving of HFilesUtility class for HFile-related testing.class for masquerading System.exit(int).A load test data generator for MOBA generator of random keys and values for load testing.A command-line utility that reads, writes, and verifies data.Basic mock Server for handler tests.Common base class for reader and writer parts of multi-thread HBase load test (See LoadTestTool).Default implementation of LoadTestDataGenerator that uses LoadTestKVGenerator, fixed set of column families, and random number of columns in range.Creates multiple threads that read and verify previously written dataA MultiThreadReader that helps to work with ACLCreates multiple threads that write key/values into theA MultiThreadUpdater that helps to work with ACLCreates multiple threads that write key/values into theCreates multiple threads that write key/values into theMultiThreadedWriter that helps in testing ACLAn clock which will never return the same clock twice.A helper class for process-based mini-cluster tests.A class that generates random numbers that follow some distribution.Binomial distribution.Interface for discrete (integer) random distributions.P(i)=1/(max-min)Zipf distribution.Generate list of key values which are very useful to test data block encoding and compression.A command-line tool that spins up a local process-based cluster, loads some data, restarts the regionserver holding hbase:meta, and verifies that the cluster recovers.Utility for running
SimpleKdcServer
.A base implementation for a Stoppable serviceTestCommonFSUtils
.Test TestCoprocessorClassLoader.Tests to make sure that the default environment edge conforms to appropriate behaviour.Test TestDynamicClassLoaderTests forFSTableDescriptors
.TestFSUtils
.TestFSUtils
.Test the comparator used by Hbck.Test that the utility works as expectedTests that the incrementing environment edge increments time instead of using the default.TestJSONBean
.Runs a load test on a mini HBase cluster with data block encoding turned on.A write/read/verify load test on a mini HBase cluster.A write/read/verify load test on a mini HBase cluster.Test our recoverLease loop against mocked up filesystem.Tests for Region Mover Load/Unload functionality with and without ack mode and also to test exclude functionality useful for rack decommissioningTests for Region Mover Load/Unload functionality with and without ack mode and also to test exclude functionality useful for rack decommissioningTests forRegionSplitter
, which can create a pre-split table or do a rolling split of an existing table.Basic test for some old functionality we don't seem to have used but that looks nice.Test requirement that root directory must be a URIThis test is there to dump the properties.