hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zheng (JIRA)" <>
Subject [jira] [Commented] (HIVE-11510) Metatool updateLocation warning on views
Date Thu, 03 Sep 2015 19:58:45 GMT


Wei Zheng commented on HIVE-11510:

TestCompactionTxnHandler runs clean locally. testTableSchemaPropagation is not related.

[~sushanth] Could you commit the patch?

> Metatool updateLocation warning on views
> ----------------------------------------
>                 Key: HIVE-11510
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Database/Schema
>    Affects Versions: 0.14.0
>            Reporter: Eric Czech
>            Assignee: Wei Zheng
>         Attachments: HIVE-11510.1.patch, HIVE-11510.2.patch, HIVE-11510.3.patch
> If views are present in a hive database, issuing a 'hive metatool -updateLocation' command
will result in an error like this:
> ...
> Warning: Found records with bad LOCATION in SDS table.. 
> bad location URI: null
> bad location URI: null
> bad location URI: null
> ....
> Based on the source code for Metatool, it looks like there would then be a "bad location
URI: null" message for every view and it also appears this is happening simply because the
'sds' table in the hive schema has a column called location that is NULL only for views.

This message was sent by Atlassian JIRA

View raw message