public class TestProcedureMetrics extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestProcedureMetrics.ProcedureMetrics |
private static class |
TestProcedureMetrics.TestProcEnv |
Modifier and Type | Field and Description |
---|---|
private static int |
beginCount |
static HBaseClassTestRule |
CLASS_RULE |
private static int |
failedCount |
private org.apache.hadoop.fs.FileSystem |
fs |
private HBaseCommonTestingUtility |
htu |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.fs.Path |
logDir |
private static int |
PROCEDURE_EXECUTOR_SLOTS |
private TestProcedureMetrics.TestProcEnv |
procEnv |
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestProcedureMetrics.TestProcEnv> |
procExecutor |
private org.apache.hadoop.hbase.procedure2.store.ProcedureStore |
procStore |
private static int |
successCount |
private org.apache.hadoop.fs.Path |
testDir |
Constructor and Description |
---|
TestProcedureMetrics() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testMetricForFailedYiledProcedure() |
void |
testMetricForProcedureWithChildren() |
void |
testMetricForSimpleProcedure() |
void |
testMetricForYieldProcedure() |
void |
testMetricsForFailedProcedure() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int PROCEDURE_EXECUTOR_SLOTS
private TestProcedureMetrics.TestProcEnv procEnv
private static org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestProcedureMetrics.TestProcEnv> procExecutor
private org.apache.hadoop.hbase.procedure2.store.ProcedureStore procStore
private HBaseCommonTestingUtility htu
private org.apache.hadoop.fs.FileSystem fs
private org.apache.hadoop.fs.Path testDir
private org.apache.hadoop.fs.Path logDir
private static int beginCount
private static int successCount
private static int failedCount
public TestProcedureMetrics()
public void setUp() throws IOException
IOException
public void tearDown() throws IOException
IOException
public void testMetricForSimpleProcedure() throws Exception
Exception
public void testMetricsForFailedProcedure() throws Exception
Exception
public void testMetricForYieldProcedure() throws Exception
Exception
public void testMetricForFailedYiledProcedure()
public void testMetricForProcedureWithChildren() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.