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

Wei Zheng commented on HIVE-11155:
----------------------------------

Here's the output string from method testUpdateFSRootLocation(). It can be seen 
DBS and SDS tables are not updated.
{code}
Initializing HiveMetaTool..
Looking for LOCATION_URI field in DBS table to update..
Successfully updated the following locations..
Updated 0 records in DBS table
Looking for LOCATION field in SDS table to update..
Successfully updated the following locations..
Updated 0 records in SDS table
Looking for value of avro.schema.url key in TABLE_PARAMS table to update..
Successfully updated the following locations..
old location: hdfs://nn.example.com/warehouse/hive/ab.avsc new location: 
hdfs://nn-ha-uri/warehouse/hive/ab.avsc
Updated 1 records in TABLE_PARAMS table
Looking for value of avro.schema.url key in SD_PARAMS table to update..
Successfully updated the following locations..
old location: hdfs://nn.example.com/warehouse/hive/ab.avsc new location: 
hdfs://nn-ha-uri/warehouse/hive/ab.avsc
Updated 1 records in SD_PARAMS table
{code}

> TestHiveMetaTool needs to cover updates for DBS and SDS tables in metastore 
> as well
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-11155
>                 URL: https://issues.apache.org/jira/browse/HIVE-11155
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Wei Zheng
>            Assignee: Wei Zheng
>            Priority: Minor
>
> In HIVE-11147 we solved a Hive MetaTool bug. During testing, it has been 
> found that TestHiveMetaTool doesn't cover many cases such as updating FS Root 
> location for DBS and SDS table. The test coverage needs to be enhanced.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to