Class RefreshHFilesClient
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.client.example.RefreshHFilesClient
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
@Private
public class RefreshHFilesClient
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool, Closeable
This client class is for invoking the refresh HFile function deployed on the Region Server side
via the RefreshHFilesService.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRefreshHFilesClient(org.apache.hadoop.conf.Configuration cfg) Constructor with Conf object -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static voidvoidrefreshHFiles(Table table) voidrefreshHFiles(TableName tableName) intMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
LOG
-
connection
-
-
Constructor Details
-
RefreshHFilesClient
Constructor with Conf object- Parameters:
cfg- theConfigurationobject to use
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
refreshHFiles
- Throws:
Throwable
-
refreshHFiles
- Throws:
Throwable
-
run
- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
Exception
-
main
- Throws:
Exception
-