org.apache.hadoop.hbase.util.hbck
Class TableLockChecker

java.lang.Object
  extended by org.apache.hadoop.hbase.util.hbck.TableLockChecker

public class TableLockChecker
extends Object

Utility to check and fix table locks. Need zookeeper connection.


Constructor Summary
TableLockChecker(ZooKeeperWatcher zkWatcher, HBaseFsck.ErrorReporter errorReporter)
           
 
Method Summary
 void checkTableLocks()
           
 void fixExpiredTableLocks()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableLockChecker

public TableLockChecker(ZooKeeperWatcher zkWatcher,
                        HBaseFsck.ErrorReporter errorReporter)
Method Detail

checkTableLocks

public void checkTableLocks()
                     throws IOException
Throws:
IOException

fixExpiredTableLocks

public void fixExpiredTableLocks()
                          throws IOException
Throws:
IOException


Copyright © 2015 The Apache Software Foundation. All rights reserved.