You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Eric Hwang (JIRA)" <ji...@apache.org> on 2009/08/15 01:38:14 UTC
[jira] Created: (HIVE-755) Driver NullPointerException when calling
getResults without first compiling
Driver NullPointerException when calling getResults without first compiling
---------------------------------------------------------------------------
Key: HIVE-755
URL: https://issues.apache.org/jira/browse/HIVE-755
Project: Hadoop Hive
Issue Type: Bug
Reporter: Eric Hwang
The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HIVE-755) Driver NullPointerException when
calling getResults without first compiling
Posted by "Zheng Shao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743495#action_12743495 ]
Zheng Shao commented on HIVE-755:
---------------------------------
Talked with Eric offline. We should fix the problem in HiveServer - if the last command is not for Driver, getResult() should return empty result directlry.
> Driver NullPointerException when calling getResults without first compiling
> ---------------------------------------------------------------------------
>
> Key: HIVE-755
> URL: https://issues.apache.org/jira/browse/HIVE-755
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Eric Hwang
> Attachments: HIVE-755.1.patch
>
>
> The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-755) Driver NullPointerException when calling
getResults without first compiling
Posted by "Eric Hwang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Hwang updated HIVE-755:
----------------------------
Attachment: HIVE-755.1.patch
> Driver NullPointerException when calling getResults without first compiling
> ---------------------------------------------------------------------------
>
> Key: HIVE-755
> URL: https://issues.apache.org/jira/browse/HIVE-755
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Eric Hwang
> Attachments: HIVE-755.1.patch
>
>
> The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HIVE-755) Driver NullPointerException when
calling getResults without first compiling
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750113#action_12750113 ]
Namit Jain commented on HIVE-755:
---------------------------------
The changes look good - will merge if the tests pass
> Driver NullPointerException when calling getResults without first compiling
> ---------------------------------------------------------------------------
>
> Key: HIVE-755
> URL: https://issues.apache.org/jira/browse/HIVE-755
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Eric Hwang
> Assignee: Eric Hwang
> Attachments: HIVE-755.1.patch, HIVE-755.2.patch
>
>
> The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HIVE-755) Driver NullPointerException when
calling getResults without first compiling
Posted by "Ashish Thusoo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Thusoo reassigned HIVE-755:
----------------------------------
Assignee: Eric Hwang
> Driver NullPointerException when calling getResults without first compiling
> ---------------------------------------------------------------------------
>
> Key: HIVE-755
> URL: https://issues.apache.org/jira/browse/HIVE-755
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Eric Hwang
> Assignee: Eric Hwang
> Attachments: HIVE-755.1.patch
>
>
> The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-755) Driver NullPointerException when calling
getResults without first compiling
Posted by "Eric Hwang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Hwang updated HIVE-755:
----------------------------
Status: Patch Available (was: Open)
> Driver NullPointerException when calling getResults without first compiling
> ---------------------------------------------------------------------------
>
> Key: HIVE-755
> URL: https://issues.apache.org/jira/browse/HIVE-755
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Eric Hwang
> Attachments: HIVE-755.1.patch
>
>
> The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-755) Driver NullPointerException when calling
getResults without first compiling
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-755:
--------------------------------
Fix Version/s: 0.4.0
Component/s: Query Processor
> Driver NullPointerException when calling getResults without first compiling
> ---------------------------------------------------------------------------
>
> Key: HIVE-755
> URL: https://issues.apache.org/jira/browse/HIVE-755
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Eric Hwang
> Assignee: Eric Hwang
> Fix For: 0.4.0
>
> Attachments: HIVE-755.1.patch, HIVE-755.2.patch
>
>
> The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-755) Driver NullPointerException when calling
getResults without first compiling
Posted by "Eric Hwang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Hwang updated HIVE-755:
----------------------------
Attachment: HIVE-755.2.patch
As per discussion with Zheng, fixed the issue from the Hive Server side rather than in the driver.
All tests pass.
> Driver NullPointerException when calling getResults without first compiling
> ---------------------------------------------------------------------------
>
> Key: HIVE-755
> URL: https://issues.apache.org/jira/browse/HIVE-755
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Eric Hwang
> Assignee: Eric Hwang
> Attachments: HIVE-755.1.patch, HIVE-755.2.patch
>
>
> The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-755) Driver NullPointerException when calling
getResults without first compiling
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-755:
----------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed in trunk and 0.4 - thanks Eric
> Driver NullPointerException when calling getResults without first compiling
> ---------------------------------------------------------------------------
>
> Key: HIVE-755
> URL: https://issues.apache.org/jira/browse/HIVE-755
> Project: Hadoop Hive
> Issue Type: Bug
> Reporter: Eric Hwang
> Assignee: Eric Hwang
> Attachments: HIVE-755.1.patch, HIVE-755.2.patch
>
>
> The Hive Driver will throw a NullPointerException when getResults() is called but the context has not yet been set by a call to compile().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.