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

Hudson commented on HIVE-4566:
------------------------------

Integrated in Hive-trunk-h0.21 #2129 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/2129/])
    HIVE-4566 : NullPointerException if typeinfo and nativesql commands are 
executed at beeline before a DB connection is established (Xuefu Zhang via 
Ashutosh Chauhan) (Revision 1489672)

     Result = FAILURE
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1489672
Files : 
* /hive/trunk/beeline/src/java/org/apache/hive/beeline/Commands.java
* 
/hive/trunk/beeline/src/test/org/apache/hive/beeline/src/test/TestBeeLineWithArgs.java

                
> NullPointerException if typeinfo and nativesql commands are executed at 
> beeline before a DB connection is established
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-4566
>                 URL: https://issues.apache.org/jira/browse/HIVE-4566
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.11.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4566.patch, HIVE-4566.patch.1
>
>
> Before a DB connection is established, executing a command such as typeinfo 
> and nativesql results an NPE shown at the console:
> beeline> !typeinfo
> java.lang.NullPointerException
> beeline> !nativesql
> java.lang.NullPointerException
> Instead, a message, such as "No current connection" should be given, as in 
> case of some other commands, such as dropall.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to