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

Navis resolved HIVE-2009.
-------------------------

    Resolution: Cannot Reproduce

> Crtrl+D cause CLI throw NPE
> ---------------------------
>
>                 Key: HIVE-2009
>                 URL: https://issues.apache.org/jira/browse/HIVE-2009
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.8.0
>         Environment: HIVE TRUNK,0.8-snapshot
> Hadoop 0.20.1+169.113
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
> linux 2.6.26-2-amd64
>            Reporter: zhaowei
>
> in HIVE CLI,enter Ctrl+D,it should exit the CLI,but throws NPE.
> hive> Exception in thread "main" java.lang.NullPointerException
>         at 
> org.apache.hadoop.hive.cli.CliSessionState.close(CliSessionState.java:106)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:523)
>         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:156)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to