Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 136DC17DB7 for ; Thu, 3 Sep 2015 19:58:46 +0000 (UTC) Received: (qmail 19132 invoked by uid 500); 3 Sep 2015 19:58:46 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 19106 invoked by uid 500); 3 Sep 2015 19:58:46 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 19094 invoked by uid 99); 3 Sep 2015 19:58:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2015 19:58:45 +0000 Date: Thu, 3 Sep 2015 19:58:45 +0000 (UTC) From: "Wei Zheng (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-11510) Metatool updateLocation warning on views MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-11510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729678#comment-14729678 ] 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: 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 > 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 (v6.3.4#6332)