Class SecureTestCluster

java.lang.Object
org.apache.hadoop.hbase.security.token.SecureTestCluster
Direct Known Subclasses:
TestDelegationTokenWithEncryption, TestGenerateDelegationToken

public class SecureTestCluster extends Object
The class for set up a security cluster with kerberos, hdfs, hbase.
  • Field Details

  • Constructor Details

  • Method Details

    • setTestRunner

      protected static void setTestRunner(Class testRunnerClass)
      SecureTestCluster extending classes can set their own Class reference type to be used as the target resource to be looked for on the class loader by KeyStoreTestUtil, when deciding where to place ssl related config files.
      Parameters:
      testRunnerClass - a Class reference from the SecureTestCluster extender.
    • setUp

      public static void setUp() throws Exception
      Setup and start kerberos, hbase
      Throws:
      Exception
    • tearDown

      public static void tearDown() throws Exception
      Throws:
      Exception