public class TestCoprocessorEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static byte[] |
ROW |
private static byte[][] |
ROWS |
private static int |
rowSeperator1 |
private static int |
rowSeperator2 |
private static int |
ROWSIZE |
private static byte[] |
TEST_FAMILY |
private static byte[] |
TEST_QUALIFIER |
private static org.apache.hadoop.hbase.TableName |
TEST_TABLE |
private static HBaseTestingUtility |
util |
Constructor and Description |
---|
TestCoprocessorEndpoint() |
Modifier and Type | Method and Description |
---|---|
private static byte[][] |
makeN(byte[] base,
int n) |
static void |
setupBeforeClass() |
private Map<byte[],Long> |
sum(org.apache.hadoop.hbase.client.Table table,
byte[] family,
byte[] qualifier,
byte[] start,
byte[] end) |
static void |
tearDownAfterClass() |
void |
testAggregation() |
void |
testCoprocessorError() |
void |
testCoprocessorService() |
void |
testCoprocessorServiceNullResponse() |
void |
testMasterCoprocessorError() |
void |
testMasterCoprocessorService() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName TEST_TABLE
private static final byte[] TEST_FAMILY
private static final byte[] TEST_QUALIFIER
private static byte[] ROW
private static final int ROWSIZE
private static final int rowSeperator1
private static final int rowSeperator2
private static byte[][] ROWS
private static HBaseTestingUtility util
public TestCoprocessorEndpoint()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
private Map<byte[],Long> sum(org.apache.hadoop.hbase.client.Table table, byte[] family, byte[] qualifier, byte[] start, byte[] end) throws com.google.protobuf.ServiceException, Throwable
com.google.protobuf.ServiceException
Throwable
public void testAggregation() throws Throwable
Throwable
public void testCoprocessorService() throws Throwable
Throwable
public void testCoprocessorServiceNullResponse() throws Throwable
Throwable
public void testMasterCoprocessorService() throws Throwable
Throwable
public void testCoprocessorError() throws Exception
Exception
public void testMasterCoprocessorError() throws Throwable
Throwable
private static byte[][] makeN(byte[] base, int n)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.