org.apache.hadoop.hive.metastore
Class TestRemoteHiveMetaStoreIpAddress

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStoreIpAddress
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestRemoteUGIHiveMetaStoreIpAddress

public class TestRemoteHiveMetaStoreIpAddress
extends junit.framework.TestCase

TestRemoteHiveMetaStoreIpAddress. Test which checks that the remote Hive metastore stores the proper IP address using IpAddressListener


Field Summary
protected static String METASTORE_PORT
           
 
Constructor Summary
TestRemoteHiveMetaStoreIpAddress()
           
 
Method Summary
protected  void createClient()
           
protected  void setUp()
           
 void testIpAddress()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

METASTORE_PORT

protected static final String METASTORE_PORT
See Also:
Constant Field Values
Constructor Detail

TestRemoteHiveMetaStoreIpAddress

public TestRemoteHiveMetaStoreIpAddress()
Method Detail

setUp

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

testIpAddress

public void testIpAddress()
                   throws Exception
Throws:
Exception

createClient

protected void createClient()
                     throws Exception
Throws:
Exception


Copyright © 2011 The Apache Software Foundation