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

Ning Zhang commented on HIVE-1064:
----------------------------------

Carl, there are a lot of conflicts when applying this patch to the latest 
trunk. It may be because of the two large patches committed recently. There 
should not be further large patches in recently, can you  resolve the conflicts 
and resubmit a new patch? I'll start reviewing right away from there.

> NPE when operating HiveCLI in distributed mode
> ----------------------------------------------
>
>                 Key: HIVE-1064
>                 URL: https://issues.apache.org/jira/browse/HIVE-1064
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.6.0
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>             Fix For: 0.6.0
>
>         Attachments: HIVE-1064.patch
>
>
> {code}
> hive> select id, name from tab_a;
> select id, name from tab_a;
> 10/01/18 03:55:59 INFO parse.ParseDriver: Parsing command: select id, name 
> from tab_a
> 10/01/18 03:55:59 INFO parse.ParseDriver: Parse Completed
> 10/01/18 03:55:59 INFO parse.SemanticAnalyzer: Starting Semantic Analysis
> 10/01/18 03:55:59 INFO parse.SemanticAnalyzer: Completed phase 1 of Semantic 
> Analysis
> 10/01/18 03:55:59 INFO parse.SemanticAnalyzer: Get metadata for source tables
> 10/01/18 03:55:59 INFO metastore.HiveMetaStore: 0: Opening raw store with 
> implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
> 10/01/18 03:55:59 INFO metastore.ObjectStore: ObjectStore, initialize called
> 10/01/18 03:56:03 INFO metastore.ObjectStore: Initialized ObjectStore
> 10/01/18 03:56:03 INFO metastore.HiveMetaStore: 0: get_table : db=default 
> tbl=tab_a
> 10/01/18 03:56:03 INFO hive.log: DDL: struct tab_a { i32 id, string file, 
> string name}
> 10/01/18 03:56:03 INFO parse.SemanticAnalyzer: Get metadata for subqueries
> 10/01/18 03:56:03 INFO parse.SemanticAnalyzer: Get metadata for destination 
> tables
> 10/01/18 03:56:04 INFO parse.SemanticAnalyzer: Completed getting MetaData in 
> Semantic Analysis
> 10/01/18 03:56:04 INFO ppd.OpProcFactory: Processing for FS(2)
> 10/01/18 03:56:04 INFO ppd.OpProcFactory: Processing for SEL(1)
> 10/01/18 03:56:04 INFO ppd.OpProcFactory: Processing for TS(0)
> 10/01/18 03:56:04 INFO hive.log: DDL: struct tab_a { i32 id, string file, 
> string name}
> 10/01/18 03:56:04 INFO hive.log: DDL: struct tab_a { i32 id, string file, 
> string name}
> 10/01/18 03:56:04 INFO parse.SemanticAnalyzer: Completed plan generation
> 10/01/18 03:56:04 INFO ql.Driver: Semantic Analysis Completed
> 10/01/18 03:56:04 INFO ql.Driver: Starting command: select id, name from tab_a
> Total MapReduce jobs = 1
> 10/01/18 03:56:04 INFO ql.Driver: Total MapReduce jobs = 1
> Launching Job 1 out of 1
> 10/01/18 03:56:04 INFO ql.Driver: Launching Job 1 out of 1
> Number of reduce tasks is set to 0 since there's no reduce operator
> 10/01/18 03:56:04 INFO exec.ExecDriver: Number of reduce tasks is set to 0 
> since there's no reduce operator
> FAILED: Unknown exception : null
> 10/01/18 03:56:04 ERROR ql.Driver: FAILED: Unknown exception : null
> java.lang.NullPointerException
>       at org.apache.hadoop.hive.conf.HiveConf.getVar(HiveConf.java:288)
>       at 
> org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:475)
>       at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:103)
>       at 
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:64)
>       at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:589)
>       at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:469)
>       at org.apache.hadoop.hive.ql.Driver.runCommand(Driver.java:329)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:317)
>       at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:123)
>       at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:181)
>       at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:287)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
>       at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>       at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>       at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
> hive> 
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to