Package org.apache.hadoop.hbase
Class TestShellExecEndpointCoprocessor
java.lang.Object
org.apache.hadoop.hbase.TestShellExecEndpointCoprocessor
Test for the
ShellExecEndpointCoprocessor.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ConnectionRulestatic final MiniClusterRulestatic final HBaseClassTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.conf.Configurationprivate static FileensureTestDataDirExists(HBaseTestingUtility testingUtility) voidvoidprivate voidtestShellExecForeground(Consumer<org.apache.hadoop.hbase.coprocessor.protobuf.generated.ShellExecEndpoint.ShellExecRequest.Builder> consumer) void
-
Field Details
-
testRule
-
miniClusterRule
-
connectionRule
-
-
Constructor Details
-
TestShellExecEndpointCoprocessor
public TestShellExecEndpointCoprocessor()
-
-
Method Details
-
testShellExecUnspecified
-
testShellExecForeground
-
testShellExecForeground
private void testShellExecForeground(Consumer<org.apache.hadoop.hbase.coprocessor.protobuf.generated.ShellExecEndpoint.ShellExecRequest.Builder> consumer) -
testShellExecBackground
- Throws:
IOException
-
ensureTestDataDirExists
- Throws:
IOException
-
createConfiguration
-