org.apache.hadoop.hive.ql.metadata
Class TestHiveMetaStoreChecker

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.ql.metadata.TestHiveMetaStoreChecker
All Implemented Interfaces:
junit.framework.Test

public class TestHiveMetaStoreChecker
extends junit.framework.TestCase

TestHiveMetaStoreChecker.


Constructor Summary
TestHiveMetaStoreChecker()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testPartitionsCheck()
           
 void testTableCheck()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Constructor Detail

TestHiveMetaStoreChecker

public TestHiveMetaStoreChecker()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testTableCheck

public void testTableCheck()
                    throws HiveException,
                           MetaException,
                           IOException,
                           org.apache.thrift.TException,
                           AlreadyExistsException
Throws:
HiveException
MetaException
IOException
org.apache.thrift.TException
AlreadyExistsException

testPartitionsCheck

public void testPartitionsCheck()
                         throws HiveException,
                                MetaException,
                                IOException,
                                org.apache.thrift.TException,
                                AlreadyExistsException
Throws:
HiveException
MetaException
IOException
org.apache.thrift.TException
AlreadyExistsException


Copyright © 2011 The Apache Software Foundation