hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2286) ClassCastException when building index with security.authorization turned on
Date Thu, 04 Aug 2011 16:59:27 GMT

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

John Sichi updated HIVE-2286:
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed.  Thanks Syed!  Hallelujah!


> 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
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2286.1.patch, HIVE-2286.10.patch, HIVE-2286.11.patch, HIVE-2286.2.patch,
HIVE-2286.6.patch, HIVE-2286.7.patch, HIVE-2286.8.patch, HIVE-2286.9.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

        

Mime
View raw message