You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "zhaowei (JIRA)" <ji...@apache.org> on 2011/02/26 08:35:21 UTC

[jira] Created: (HIVE-2009) Crtrl+D cause CLI throw NPE

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 is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2009) Crtrl+D cause CLI throw NPE

Posted by "Wojciech Langiewicz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072277#comment-13072277 ] 

Wojciech Langiewicz commented on HIVE-2009:
-------------------------------------------

Also happens on CDH3u1 - hadoop-hive_0.7.1+42.4-2~lenny-cdh3_all.deb

> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-2009) Crtrl+D cause CLI throw NPE

Posted by "Ashutosh Chauhan (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138051#comment-13138051 ] 

Ashutosh Chauhan commented on HIVE-2009:
----------------------------------------

I am not able to reproduce this on trunk with following config:
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 11.10
Release:	11.10
Codename:	oneiric
$ uname -a
Linux vmbox 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira