|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.hadoop.hive.metastore.TestHiveMetaStore
public abstract class TestHiveMetaStore
Field Summary | |
---|---|
protected static HiveMetaStoreClient |
client
|
protected static HiveConf |
hiveConf
|
protected static boolean |
isThriftClient
|
protected static Warehouse |
warehouse
|
Constructor Summary | |
---|---|
TestHiveMetaStore()
|
Method Summary | |
---|---|
static void |
partitionTester(HiveMetaStoreClient client,
HiveConf hiveConf)
|
protected void |
setUp()
|
void |
testAlterPartition()
|
void |
testAlterTable()
|
void |
testAlterViewParititon()
|
void |
testColumnStatistics()
|
void |
testComplexTable()
|
void |
testComplexTypeApi()
|
void |
testConcurrentMetastores()
Verify that if another client, either a metastore Thrift server or a Hive CLI instance renames a table recently created by this instance, and hence potentially in its cache, the current instance still sees the change. |
void |
testDatabase()
|
void |
testDatabaseLocation()
|
void |
testDatabaseLocationWithPermissionProblems()
|
void |
testDropTable()
|
void |
testFilterLastPartition()
Test filtering based on the value of the last partition |
void |
testFilterSinglePartition()
Test filtering on table with single partition |
void |
testGetConfigValue()
|
void |
testListPartitionNames()
|
void |
testListPartitions()
|
void |
testNameMethods()
|
void |
testPartition()
tests create table and partition and tries to drop the table without droppping the partition |
void |
testPartitionFilter()
Tests for list partition by filter functionality. |
void |
testRenamePartition()
|
void |
testSimpleTable()
|
void |
testSimpleTypeApi()
|
void |
testSynchronized()
Tests HiveMetaStoreClient.newSynchronizedClient(org.apache.hadoop.hive.metastore.IMetaStoreClient) . |
void |
testTableDatabase()
|
void |
testTableFilter()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static HiveMetaStoreClient client
protected static HiveConf hiveConf
protected static Warehouse warehouse
protected static boolean isThriftClient
Constructor Detail |
---|
public TestHiveMetaStore()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testNameMethods()
public void testPartition() throws Exception
Exception
public static void partitionTester(HiveMetaStoreClient client, HiveConf hiveConf) throws Exception
Exception
public void testListPartitions() throws Throwable
Throwable
public void testListPartitionNames() throws Throwable
Throwable
public void testDropTable() throws Throwable
Throwable
public void testAlterViewParititon() throws Throwable
Throwable
public void testAlterPartition() throws Throwable
Throwable
public void testRenamePartition() throws Throwable
Throwable
public void testDatabase() throws Throwable
Throwable
public void testDatabaseLocationWithPermissionProblems() throws Exception
Exception
public void testDatabaseLocation() throws Throwable
Throwable
public void testSimpleTypeApi() throws Exception
Exception
public void testComplexTypeApi() throws Exception
Exception
public void testSimpleTable() throws Exception
Exception
public void testColumnStatistics() throws Throwable
Throwable
public void testAlterTable() throws Exception
Exception
public void testComplexTable() throws Exception
Exception
public void testTableDatabase() throws Exception
Exception
public void testGetConfigValue()
public void testPartitionFilter() throws Exception
Exception
public void testFilterSinglePartition() throws Exception
Exception
public void testFilterLastPartition() throws Exception
Exception
public void testSynchronized() throws Exception
HiveMetaStoreClient.newSynchronizedClient(org.apache.hadoop.hive.metastore.IMetaStoreClient)
. Does not
actually test multithreading, but does verify that the proxy
at least works correctly.
Exception
public void testTableFilter() throws Exception
Exception
public void testConcurrentMetastores() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |