use of org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData in project hive by apache.
the class DeleteTableColStatHandler method handle.
@Override
public void handle(Context withinContext) throws Exception {
LOG.info("Processing#{} DeleteTableColumnStat message : {}", fromEventId(), eventMessageAsJSON);
DumpMetaData dmd = withinContext.createDmd(this);
dmd.setPayload(eventMessageAsJSON);
dmd.write();
}
use of org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData in project hive by apache.
the class AbortTxnHandler method handle.
@Override
public void handle(Context withinContext) throws Exception {
if (!ReplUtils.includeAcidTableInDump(withinContext.hiveConf)) {
return;
}
LOG.info("Processing#{} ABORT_TXN message : {}", fromEventId(), eventMessageAsJSON);
DumpMetaData dmd = withinContext.createDmd(this);
dmd.setPayload(eventMessageAsJSON);
dmd.write();
}
use of org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData in project hive by apache.
the class AddDefaultConstraintHandler method handle.
@Override
public void handle(Context withinContext) throws Exception {
LOG.debug("Processing#{} ADD_DEFAULTCONSTRAINT_MESSAGE message : {}", fromEventId(), eventMessageAsJSON);
if (shouldReplicate(withinContext)) {
DumpMetaData dmd = withinContext.createDmd(this);
dmd.setPayload(eventMessageAsJSON);
dmd.write();
}
}
use of org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData in project hive by apache.
the class AddPrimaryKeyHandler method handle.
@Override
public void handle(Context withinContext) throws Exception {
LOG.debug("Processing#{} ADD_PRIMARYKEY_MESSAGE message : {}", fromEventId(), eventMessageAsJSON);
if (shouldReplicate(withinContext)) {
DumpMetaData dmd = withinContext.createDmd(this);
dmd.setPayload(eventMessageAsJSON);
dmd.write();
}
}
use of org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData in project hive by apache.
the class DropDatabaseHandler method handle.
@Override
public void handle(Context withinContext) throws Exception {
LOG.info("Processing#{} DROP_DATABASE message : {}", fromEventId(), eventMessageAsJSON);
DumpMetaData dmd = withinContext.createDmd(this);
dmd.setPayload(eventMessageAsJSON);
dmd.write();
}
Aggregations