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

Hive QA commented on HIVE-21489:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12965995/HIVE-21489.1.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15941 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[explain_defaultauthorizer]
 (batchId=62)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/16960/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16960/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16960/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12965995 - PreCommit-HIVE-Build

> explain command throw ClassCastException in 2.3.4
> -------------------------------------------------
>
>                 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: Daniel Dai
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21489.1.patch
>
>
> 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
(v7.6.3#76005)

Reply via email to