You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Wei Zheng (JIRA)" <ji...@apache.org> on 2015/08/28 01:32:45 UTC

[jira] [Assigned] (HIVE-11510) Metatool updateLocation fails on views

     [ https://issues.apache.org/jira/browse/HIVE-11510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wei Zheng reassigned HIVE-11510:
--------------------------------

    Assignee: Wei Zheng

> Metatool updateLocation fails on views
> --------------------------------------
>
>                 Key: HIVE-11510
>                 URL: https://issues.apache.org/jira/browse/HIVE-11510
>             Project: Hive
>          Issue Type: Bug
>          Components: Database/Schema
>    Affects Versions: 0.14.0
>            Reporter: Eric Czech
>            Assignee: Wei Zheng
>
> 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
(v6.3.4#6332)