hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HIVE-18783) ALTER TABLE post-commit listener does not include the transactional listener responses
Date Mon, 09 Apr 2018 15:07:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-18783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergio Peña updated HIVE-18783:
-------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

Master has been failing with lots of tests. I looked at other jiras and they have a similar
number of failures. My previous tests were normal and I didn't do breaking changes, so I am
assuming this is a current problem in master. I committed the patch to master.

> ALTER TABLE post-commit listener does not include the transactional listener responses

> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-18783
>                 URL: https://issues.apache.org/jira/browse/HIVE-18783
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Na Li
>            Assignee: Sergio Peña
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18783.1.patch, HIVE-18783.2.patch, HIVE-18783.3.patch
>
>
>  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.
> {code}
> + 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,
this);
>         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;
>         }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message