Class SharedMiniClusterBase

    • Field Detail

      • TRUE

        public static final String TRUE
    • Constructor Detail

      • SharedMiniClusterBase

        public SharedMiniClusterBase()
    • Method Detail

      • startMiniCluster

        public static void startMiniCluster()
                                     throws Exception
        Starts a MiniAccumuloCluster instance with the default configuration.
        Throws:
        Exception
      • startMiniClusterWithConfig

        public static void startMiniClusterWithConfig​(MiniClusterConfigurationCallback miniClusterCallback)
                                               throws Exception
        Starts a MiniAccumuloCluster instance with the default configuration but also provides the caller the opportunity to update the configuration before the MiniAccumuloCluster is started.
        Parameters:
        miniClusterCallback - A callback to configure the minicluster before it is started.
        Throws:
        Exception
      • stopMiniCluster

        public static void stopMiniCluster()
        Stops the MiniAccumuloCluster and related services if they are running.
      • getRootPassword

        public static String getRootPassword()
      • getPrincipal

        public static String getPrincipal()
      • getMiniClusterDir

        public static File getMiniClusterDir()
      • getClientProps

        public static Properties getClientProps()
      • getClientInfo

        public static ClientInfo getClientInfo()
      • saslEnabled

        public static boolean saslEnabled()
      • getAdminPrincipal

        public static String getAdminPrincipal()