@InterfaceAudience.Private public class RefreshHFilesClient extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool, Closeable
| Modifier and Type | Field and Description |
|---|---|
private Connection |
connection |
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
RefreshHFilesClient(org.apache.hadoop.conf.Configuration cfg)
Constructor with Conf object
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static void |
main(String[] args) |
void |
refreshHFiles(Table table) |
void |
refreshHFiles(TableName tableName) |
int |
run(String[] args) |
private static final org.slf4j.Logger LOG
private final Connection connection
public RefreshHFilesClient(org.apache.hadoop.conf.Configuration cfg)
cfg - the Configuration object to usepublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void refreshHFiles(TableName tableName) throws Throwable
Throwablepublic void refreshHFiles(Table table) throws Throwable
Throwablepublic int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.