Class TestRemoteTable
java.lang.Object
org.apache.hadoop.hbase.rest.client.TestRemoteTable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final byte[]private static final byte[]private static final Stringprivate static final Stringprivate static final longprivate static final byte[]private static final byte[]private RemoteHTableprivate static final HBaseRESTTestingUtilityprivate static final byte[]private static final byte[]private static final byte[]private static final byte[]private static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilityprivate static final longprivate static final longprivate static final Stringprivate static final byte[]private static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()voidbefore()static voidstatic voidvoidvoidvoidtestGet()voidvoidTest RemoteHable.Scanner.iterator methodvoidTests keeping a HBase scanner alive for long periods of time.voidvoidtestPut()voidTest a some methods of class Response.voidTest RemoteHTable.Scanner
-
Field Details
-
CLASS_RULE
-
INVALID_URL_CHARS_1
- See Also:
-
INVALID_URL_CHARS_2
- See Also:
-
VALID_TABLE_NAME_CHARS
- See Also:
-
TABLE
-
ROW_1
-
ROW_2
-
ROW_3
-
ROW_4
-
COLUMN_1
-
COLUMN_2
-
COLUMN_3
-
QUALIFIER_1
-
QUALIFIER_2
-
VALUE_1
-
VALUE_2
-
ONE_HOUR
- See Also:
-
TS_2
-
TS_1
-
TEST_UTIL
-
REST_TEST_UTIL
-
remoteTable
-
-
Constructor Details
-
TestRemoteTable
public TestRemoteTable()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
before
- Throws:
Exception
-
after
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testGetTableDescriptor
- Throws:
IOException
-
testGet
- Throws:
IOException
-
testMultiGet
- Throws:
Exception
-
testPut
- Throws:
IOException
-
testDelete
- Throws:
IOException
-
testScanner
Test RemoteHTable.Scanner- Throws:
IOException
-
testCheckAndDelete
- Throws:
IOException
-
testIteratorScaner
Test RemoteHable.Scanner.iterator method- Throws:
IOException
-
testResponse
Test a some methods of class Response. -
testLongLivedScan
Tests keeping a HBase scanner alive for long periods of time. Each call to next() should reset the ConnectionCache timeout for the scanner's connection.- Throws:
Exception- if starting the servlet container or disabling or truncating the table fails
-