Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F77C1118B for ; Wed, 17 Sep 2014 23:03:35 +0000 (UTC) Received: (qmail 32968 invoked by uid 500); 17 Sep 2014 23:03:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 32814 invoked by uid 500); 17 Sep 2014 23:03:34 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 32474 invoked by uid 500); 17 Sep 2014 23:03:33 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 32471 invoked by uid 99); 17 Sep 2014 23:03:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2014 23:03:33 +0000 Date: Wed, 17 Sep 2014 23:03:33 +0000 (UTC) From: "Xiaobing Zhou (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-8169) Windows: alter table ..set location from hcatalog failed with NullPointerException 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-8169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138166#comment-14138166 ] Xiaobing Zhou commented on HIVE-8169: ------------------------------------- Steps to reproduce the issue: {noformat} drop table if exists hcat_altertable_16; create table hcat_altertable_16(a int, b string) stored as textfile; show table extended like hcat_altertable_16; alter table hcat_altertable_16 set location 'hdfs:///tmp/table_has_moved/'; show table extended like hcat_altertable_16; {noformat} Stack trace: {noformat} org.apache.hadoop.hive.ql.parse.SemanticException: org.apache.hadoop.hive.ql.parse.SemanticException: java.lang.NullPointerException at org.apache.hive.hcatalog.cli.SemanticAnalysis.HCatSemanticAnalyzer.postAnalyze(HCatSemanticAnalyzer.java:264) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:406) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:299) at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:993) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1063) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:930) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:920) at org.apache.hive.hcatalog.cli.HCatDriver.run(HCatDriver.java:43) at org.apache.hive.hcatalog.cli.HCatCli.processCmd(HCatCli.java:291) at org.apache.hive.hcatalog.cli.HCatCli.processLine(HCatCli.java:245) at org.apache.hive.hcatalog.cli.HCatCli.processFile(HCatCli.java:264) at org.apache.hive.hcatalog.cli.HCatCli.main(HCatCli.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.util.RunJar.run(RunJar.java:221) at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Caused by: org.apache.hadoop.hive.ql.parse.SemanticException: java.lang.NullPointerException at org.apache.hive.hcatalog.cli.SemanticAnalysis.HCatSemanticAnalyzerBase.authorizeDDL(HCatSemanticAnalyzerBase.java:114) at org.apache.hive.hcatalog.cli.SemanticAnalysis.HCatSemanticAnalyzer.postAnalyze(HCatSemanticAnalyzer.java:259) ... 17 more Caused by: java.lang.NullPointerException at org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider.authorize(StorageBasedAuthorizationProvider.java:178) at org.apache.hive.hcatalog.cli.SemanticAnalysis.HCatSemanticAnalyzerBase.authorize(HCatSemanticAnalyzerBase.java:161) at org.apache.hive.hcatalog.cli.SemanticAnalysis.HCatSemanticAnalyzer.authorizeDDLWork(HCatSemanticAnalyzer.java:381) at org.apache.hive.hcatalog.cli.SemanticAnalysis.HCatSemanticAnalyzerBase.authorizeDDL(HCatSemanticAnalyzerBase.java:105) ... 18 more {noformat} > Windows: alter table ..set location from hcatalog failed with NullPointerException > ---------------------------------------------------------------------------------- > > Key: HIVE-8169 > URL: https://issues.apache.org/jira/browse/HIVE-8169 > Project: Hive > Issue Type: Bug > Components: HCatalog > Affects Versions: 0.14.0 > Reporter: Xiaobing Zhou > Assignee: Xiaobing Zhou > -- This message was sent by Atlassian JIRA (v6.3.4#6332)