Zhihua Deng created HIVE-25383:
----------------------------------
Summary: Make TestMarkPartitionRemote more stable
Key: HIVE-25383
URL: https://issues.apache.org/jira/browse/HIVE-25383
Project: Hive
Issue Type: Test
Components: Standalone Metastore
Reporter: Zhihua Deng
Sometimes the TestMarkPartitionRemote failed by
{noformat}
org.apache.hadoop.hive.metastore.api.MetaException: Exception determining
external table location:Default location is not available for table:
file:/path/to/tableat
org.apache.hadoop.hive.metastore.MetastoreDefaultTransformer.transformCreateTable(MetastoreDefaultTransformer.java:660)
~[classes/:?]at
org.apache.hadoop.hive.metastore.HMSHandler.create_table_core(HMSHandler.java:2325)
~[classes/:?]at
org.apache.hadoop.hive.metastore.HMSHandler.create_table_req(HMSHandler.java:2578)
[classes/:?]{noformat}
[http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-2441/15/tests]
[http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-2473/3/tests]
The cause is that the table path is existed before the test executed,
TableLocationStrategy with prohibit does not allow alternate locations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)