[ 
https://issues.apache.org/jira/browse/HIVE-22974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17053520#comment-17053520
 ] 

Attila Magyar commented on HIVE-22974:
--------------------------------------

[~ngangam] if I comment out the code change the test fails with:
{code:java}
MetaException(message:An external table's location should not be located within 
managed warehouse root 
directory,table:test_alter_mgd_table,location:/Users/amagyar/development/hive/itests/hive-unit/target/tmp/hive/warehouse/hive/dbalter/test_alter_mgd_table,Hive
 managed 
warehouse:/Users/amagyar/development/hive/itests/hive-unit/target/tmp/hive/warehouse/hive
) {code}

> 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: Bug
>          Components: Metastore
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-22974.2.patch, HIVE-22974.3.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)

Reply via email to