public class MetaDataExportListener extends MetaStorePreEventListener
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
MetaDataExportListener(org.apache.hadoop.conf.Configuration config)
Configure the export listener
|
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(PreEventContext context)
Listen for an event; if it is a DROP_TABLE event, call export_meta_data
|
getConf, setConfpublic MetaDataExportListener(org.apache.hadoop.conf.Configuration config)
public void onEvent(PreEventContext context) throws org.apache.hadoop.hive.metastore.api.MetaException, org.apache.hadoop.hive.metastore.api.NoSuchObjectException, org.apache.hadoop.hive.metastore.api.InvalidOperationException
Copyright © 2022 The Apache Software Foundation. All rights reserved.