org.apache.hadoop.hive.ql.lockmgr.zookeeper
Class TestZookeeperLockManager

java.lang.Object
  extended by org.apache.hadoop.hive.ql.lockmgr.zookeeper.TestZookeeperLockManager

public class TestZookeeperLockManager
extends Object


Constructor Summary
TestZookeeperLockManager()
           
 
Method Summary
 void setup()
           
 void testDeleteNoChildren()
           
 void testDeleteNoChildrenNodeDoesNotExist()
          Tests two threads racing to delete PARENT_LOCK_PATH
 void testDeleteWithChildren()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestZookeeperLockManager

public TestZookeeperLockManager()
Method Detail

setup

public void setup()

testDeleteNoChildren

public void testDeleteNoChildren()
                          throws Exception
Throws:
Exception

testDeleteNoChildrenNodeDoesNotExist

public void testDeleteNoChildrenNodeDoesNotExist()
                                          throws Exception
Tests two threads racing to delete PARENT_LOCK_PATH

Throws:
Exception

testDeleteWithChildren

public void testDeleteWithChildren()
                            throws Exception
Throws:
Exception


Copyright © 2012 The Apache Software Foundation