[ 
https://issues.apache.org/jira/browse/HIVE-21489?focusedWorklogId=614070&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-614070
 ]

ASF GitHub Bot logged work on HIVE-21489:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Jun/21 15:29
            Start Date: 23/Jun/21 15:29
    Worklog Time Spent: 10m 
      Work Description: zeroflag commented on pull request #2373:
URL: https://github.com/apache/hive/pull/2373#issuecomment-866938488


   @ramesh0201 the pCtx is both defined in the base class and in the subclass. 
This can be confusing. Isn't it enough to only define it in the base and use 
the inherited field in the subclass?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 614070)
    Time Spent: 50m  (was: 40m)

> EXPLAIN command throws ClassCastException in Hive
> -------------------------------------------------
>
>                 Key: HIVE-21489
>                 URL: https://issues.apache.org/jira/browse/HIVE-21489
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.3.4
>            Reporter: Ping Lu
>            Assignee: Ramesh Kumar Thangarajan
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21489.1.patch, HIVE-21489.2.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> I'm trying to run commands like explain select * from src in hive-2.3.4,but 
> it falls with the ClassCastException: 
> org.apache.hadoop.hive.ql.parse.ExplainSemanticAnalyzer cannot be cast to 
> org.apache.hadoop.hive.ql.parse.SemanticAnalyzer
> Steps to reproduce:
> 1)hive.execution.engine is the default value mr
> 2)hive.security.authorization.enabled is set to true, and 
> hive.security.authorization.manager is set to 
> org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider
> 3)start hivecli to run command:explain select * from src
> I debug the code and find the issue HIVE-18778 causing the above 
> ClassCastException.If I set hive.in.test to true,the explain command can be 
> successfully executed。
> Now,I have one question,due to hive.in.test cann't be modified at runtime.how 
> to run explain command with using default authorization in hive-2.3.4,



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to