hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Na Li (JIRA)" <>
Subject [jira] [Created] (HIVE-18783) Set Notification ID for Alter Table event
Date Fri, 23 Feb 2018 05:48:00 GMT
Na Li created HIVE-18783:

             Summary: Set Notification ID for Alter Table event
                 Key: HIVE-18783
             Project: Hive
          Issue Type: Bug
            Reporter: Na Li

 in HiveMetaStore, alter_table_core does NOT call transactional listener, and the notification
ID corresponding to the alter table event is NOT set in the event parameters.

+ alter_table_core
      try {
        Table oldt = this.get_table_core(dbname, name);
        this.firePreEvent(new PreAlterTableEvent(oldt, newTable, this));
        this.alterHandler.alterTable(this.getMS(), this.wh, dbname, name, newTable, envContext,
        success = true;
        if (!this.listeners.isEmpty()) {
          MetaStoreListenerNotifier.notifyEvent(this.listeners, EventType.ALTER_TABLE, new
AlterTableEvent(oldt, newTable, true, this), envContext);
      } catch (NoSuchObjectException var12) {
        ex = var12;
        throw new InvalidOperationException(var12.getMessage());
      } catch (Exception var13) {
        ex = var13;
        if (var13 instanceof MetaException) {
          throw (MetaException)var13;

        if (var13 instanceof InvalidOperationException) {
          throw (InvalidOperationException)var13;


This message was sent by Atlassian JIRA

View raw message