[jira] [Updated] (HIVE-4566) NullPointerException if typeinfo and nativesql commands are executed at beeline before a DB connection is established

2013-06-04 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-4566:
---

   Resolution: Fixed
Fix Version/s: 0.12.0
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Xuefu!

> 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


[jira] [Updated] (HIVE-4566) NullPointerException if typeinfo and nativesql commands are executed at beeline before a DB connection is established

2013-06-04 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang updated HIVE-4566:
--

Attachment: HIVE-4566.patch.1

> 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
> 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


[jira] [Updated] (HIVE-4566) NullPointerException if typeinfo and nativesql commands are executed at beeline before a DB connection is established

2013-05-20 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang updated HIVE-4566:
--

Status: Patch Available  (was: Open)

The patch is to fix the NPE.

> 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
> Attachments: HIVE-4566.patch
>
>
> 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


[jira] [Updated] (HIVE-4566) NullPointerException if typeinfo and nativesql commands are executed at beeline before a DB connection is established

2013-05-20 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang updated HIVE-4566:
--

Attachment: HIVE-4566.patch

> 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
> Attachments: HIVE-4566.patch
>
>
> 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