org.apache.hadoop.hive.ql.txn.compactor
Class Cleaner

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.hadoop.hive.ql.txn.compactor.Cleaner
All Implemented Interfaces:
Runnable, MetaStoreThread

public class Cleaner
extends Thread

A class to clean directories after compactions. This will run in a separate thread.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.metastore.MetaStoreThread
MetaStoreThread.BooleanPointer
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Cleaner()
           
 
Method Summary
 void init(MetaStoreThread.BooleanPointer stop)
           
 void run()
           
 void setHiveConf(HiveConf conf)
           
 void setThreadId(int threadId)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hive.metastore.MetaStoreThread
start
 

Constructor Detail

Cleaner

public Cleaner()
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

setHiveConf

public void setHiveConf(HiveConf conf)
Specified by:
setHiveConf in interface MetaStoreThread

setThreadId

public void setThreadId(int threadId)
Specified by:
setThreadId in interface MetaStoreThread

init

public void init(MetaStoreThread.BooleanPointer stop)
          throws org.apache.hadoop.hive.metastore.api.MetaException
Specified by:
init in interface MetaStoreThread
Throws:
org.apache.hadoop.hive.metastore.api.MetaException


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