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, toString
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testTable() throws java.lang.Throwable
java.lang.Throwable
public void testThriftTable() throws java.lang.Throwable
java.lang.Throwable
public void testHiveCloseCurrent() throws java.lang.Throwable
java.lang.Throwable
public void testGetAndDropTables() throws java.lang.Throwable
java.lang.Throwable
public void testPartition() throws java.lang.Throwable
java.lang.Throwable
public void testIndex() throws java.lang.Throwable
java.lang.Throwable
public void testHiveRefreshOnConfChange() throws java.lang.Throwable
java.lang.Throwable
Copyright © 2012 The Apache Software Foundation