public static void insertThriftRenameTableLogEntry(org.apache.hadoop.hive.metastore.api.Table oldTable,org.apache.hadoop.hive.metastore.api.Table newTable,HiveConf hiveConf) throws Exception {
  final MetastoreAuditLogListener metastoreAuditLogListener=new MetastoreAuditLogListener(hiveConf);
  AlterTableEvent event=new AlterTableEvent(oldTable,newTable,true,null);
  metastoreAuditLogListener.onAlterTable(event);
}

public static void insertThriftRenameTableLogEntry ( org . apache . hadoop . hive . metastore . api . Table oldTable , org . apache . hadoop . hive . metastore . api . Table newTable , HiveConf hiveConf ) throws Exception { final MetastoreAuditLogListener metastoreAuditLogListener = new MetastoreAuditLogListener ( hiveConf ) ; AlterTableEvent event = new AlterTableEvent ( oldTable , newTable , true , null ) ; metastoreAuditLogListener . onAlterTable ( event ) ; }
insert a thrift audit log entry that represents renaming a table .
