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 3A3C56EF8 for ; Wed, 27 Jul 2011 21:29:35 +0000 (UTC) Received: (qmail 82396 invoked by uid 500); 27 Jul 2011 21:29:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 81994 invoked by uid 500); 27 Jul 2011 21:29: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 81923 invoked by uid 500); 27 Jul 2011 21:29:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 81920 invoked by uid 99); 27 Jul 2011 21:29:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 21:29:34 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 21:29:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 443C38E4C9 for ; Wed, 27 Jul 2011 21:29:10 +0000 (UTC) Date: Wed, 27 Jul 2011 21:29:10 +0000 (UTC) From: "John Sichi (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <2013193169.13521.1311802150276.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1228912172.19030.1310769120183.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2286) ClassCastException when building index with security.authorization turned on MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-2286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Sichi updated HIVE-2286: ----------------------------- Status: Open (was: Patch Available) A lot of the command types in the test results should not be changing. > ClassCastException when building index with security.authorization turned on > ---------------------------------------------------------------------------- > > Key: HIVE-2286 > URL: https://issues.apache.org/jira/browse/HIVE-2286 > Project: Hive > Issue Type: Bug > Reporter: Syed S. Albiz > Assignee: Syed S. Albiz > Attachments: HIVE-2286.1.patch, HIVE-2286.2.patch, HIVE-2286.6.patch > > > When trying to build an index with authorization checks turned on, hive issues the following ClassCastException: > org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer cannot be cast to > org.apache.hadoop.hive.ql.parse.SemanticAnalyzer > at > org.apache.hadoop.hive.ql.Driver.doAuthorization(Driver.java:540) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:431) > at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:335) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:848) > at > org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:224) > at > org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:358) > at > org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:293) > at > org.apache.hadoop.hive.cli.CliDriver.processReader(CliDriver.java:385) > at > org.apache.hadoop.hive.cli.CliDriver.processFile(CliDriver.java:392) > at > org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:567) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav > a:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira