hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Garg (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17602) Explain plan not working
Date Tue, 26 Sep 2017 04:22:00 GMT

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

Vineet Garg updated HIVE-17602:
-------------------------------
    Status: Patch Available  (was: Open)

> Explain plan not working
> ------------------------
>
>                 Key: HIVE-17602
>                 URL: https://issues.apache.org/jira/browse/HIVE-17602
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 3.0.0
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Critical
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17602.1.patch
>
>
> {code:sql}
> hive> CREATE TABLE src (key STRING COMMENT 'default', value STRING COMMENT 'default')
STORED AS TEXTFILE;
> hive> explain select * from src where key > '4';
> Failed with exception wrong number of arguments
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExplainTask
> {code}
> Error stack in hive.log
> {noformat}
> 2017-09-25T21:18:59,591 ERROR [726b5e51-f470-4a79-be8c-95b82a6aa85d main] exec.Task:
Failed with exception wrong number of arguments
> java.lang.IllegalArgumentException: wrong number of arguments
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:896)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:774)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:668)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:797)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:668)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputList(ExplainTask.java:635)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:968)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:668)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputMap(ExplainTask.java:569)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:954)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:668)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputPlan(ExplainTask.java:1052)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.outputStagePlans(ExplainTask.java:1197)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.getJSONPlan(ExplainTask.java:275)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.getJSONPlan(ExplainTask.java:220)
> 	at org.apache.hadoop.hive.ql.exec.ExplainTask.execute(ExplainTask.java:368)
> 	at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:204)
> 	at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:97)
> 	at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2190)
> 	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1832)
> 	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1549)
> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1304)
> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1294)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:239)
> 	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:187)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:409)
> 	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:827)
> 	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:765)
> 	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:692)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:234)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message