public class TestHive
extends junit.framework.TestCase
| Modifier and Type | Field and Description |
|---|---|
protected HiveConf |
hiveConf |
protected Hive |
hm |
| Constructor and Description |
|---|
TestHive() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testGetAndDropTables() |
void |
testHiveCloseCurrent()
Test basic Hive class interaction, that:
- We can have different Hive objects throughout the lifetime of this thread.
|
void |
testHiveRefreshOnConfChange() |
void |
testIndex()
Tests creating a simple index on a simple table.
|
void |
testPartition() |
void |
testTable() |
void |
testThriftTable()
Tests create and fetch of a thrift based table.
|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringprotected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testTable()
throws java.lang.Throwable
java.lang.Throwablepublic void testThriftTable()
throws java.lang.Throwable
java.lang.Throwablepublic void testHiveCloseCurrent()
throws java.lang.Throwable
java.lang.Throwablepublic void testGetAndDropTables()
throws java.lang.Throwable
java.lang.Throwablepublic void testPartition()
throws java.lang.Throwable
java.lang.Throwablepublic void testIndex()
throws java.lang.Throwable
java.lang.Throwablepublic void testHiveRefreshOnConfChange()
throws java.lang.Throwable
java.lang.ThrowableCopyright © 2012 The Apache Software Foundation