[ https://issues.apache.org/jira/browse/HIVE-22974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055726#comment-17055726 ]
Attila Magyar commented on HIVE-22974: -------------------------------------- [~ngangam], I see that TestMetaStoreEventListener.testListener is failing because of the patch. {code:java} [ERROR] 2020-03-09 20:46:08.175 [pool-13-thread-2] RetryingHMSHandler - MetaException(message:hive.hive2038.tmptbl2 table not found) at org.apache.hadoop.hive.metastore.MetastoreDefaultTransformer.tableLocationChanged(MetastoreDefaultTransformer.java:687) at org.apache.hadoop.hive.metastore.MetastoreDefaultTransformer.transformAlterTable(MetastoreDefaultTransformer.java:663) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_core(HiveMetaStore.java:5621) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_table_req(HiveMetaStore.java:5568) {code} It passes when I run it locally in my IDE. The reason for this is that hive.in.test is true when I run it locally however on jenkins it is false. But I'm not sure if this isn't some problem with the code. Can it happen that the remote table doesn't exist during the check or that should have been caught earlier? > Metastore's table location check should be applied when location changed > ------------------------------------------------------------------------ > > Key: HIVE-22974 > URL: https://issues.apache.org/jira/browse/HIVE-22974 > Project: Hive > Issue Type: Sub-task > Components: Metastore > Reporter: Attila Magyar > Assignee: Attila Magyar > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-22974.2.patch, HIVE-22974.3.patch, > HIVE-22974.4.patch > > > In HIVE-22189 a check was introduced to make sure managed and external tables > are located at the proper space. This condition cannot be satisfied during an > upgrade. -- This message was sent by Atlassian Jira (v8.3.4#803005)