public class MetaDataExportListener extends MetaStorePreEventListener
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
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 MetaException, NoSuchObjectException, InvalidOperationException
onEvent in class MetaStorePreEventListenerMetaExceptionNoSuchObjectExceptionInvalidOperationExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.