You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "He Yongqiang (JIRA)" <ji...@apache.org> on 2009/12/10 03:15:18 UTC

[jira] Created: (HIVE-977) NullPointerException when operating on a non-existing partition

NullPointerException when operating on a non-existing partition
---------------------------------------------------------------

                 Key: HIVE-977
                 URL: https://issues.apache.org/jira/browse/HIVE-977
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: He Yongqiang


create table tbl(key int) partitioned by (ds string);
select ..  from tbl where ds='101'; 

Total MapReduce jobs = 1
Number of reduce tasks determined at compile time: 1
In order to change the average load for a reducer (in bytes):
  set hive.exec.reducers.bytes.per.reducer=<number>
In order to limit the maximum number of reducers:
  set hive.exec.reducers.max=<number>
In order to set a constant number of reducers:
  set mapred.reduce.tasks=<number>
Job Submission failed with exception 'java.lang.NullPointerException(null)'
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExecDriver



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-977) NullPointerException when operating on a non-existing partition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-977:
----------------------------

    Fix Version/s: 0.5.0

blocker for 0.5

> NullPointerException when operating on a non-existing partition
> ---------------------------------------------------------------
>
>                 Key: HIVE-977
>                 URL: https://issues.apache.org/jira/browse/HIVE-977
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>             Fix For: 0.5.0
>
>
> create table tbl(key int) partitioned by (ds string);
> select ..  from tbl where ds='101'; 
> Total MapReduce jobs = 1
> Number of reduce tasks determined at compile time: 1
> In order to change the average load for a reducer (in bytes):
>   set hive.exec.reducers.bytes.per.reducer=<number>
> In order to limit the maximum number of reducers:
>   set hive.exec.reducers.max=<number>
> In order to set a constant number of reducers:
>   set mapred.reduce.tasks=<number>
> Job Submission failed with exception 'java.lang.NullPointerException(null)'
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExecDriver

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-977) NullPointerException when operating on a non-existing partition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-977:
----------------------------

    Status: Patch Available  (was: Open)

> NullPointerException when operating on a non-existing partition
> ---------------------------------------------------------------
>
>                 Key: HIVE-977
>                 URL: https://issues.apache.org/jira/browse/HIVE-977
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>            Assignee: Namit Jain
>             Fix For: 0.5.0
>
>         Attachments: hive.1.977.patch
>
>
> create table tbl(key int) partitioned by (ds string);
> select ..  from tbl where ds='101'; 
> Total MapReduce jobs = 1
> Number of reduce tasks determined at compile time: 1
> In order to change the average load for a reducer (in bytes):
>   set hive.exec.reducers.bytes.per.reducer=<number>
> In order to limit the maximum number of reducers:
>   set hive.exec.reducers.max=<number>
> In order to set a constant number of reducers:
>   set mapred.reduce.tasks=<number>
> Job Submission failed with exception 'java.lang.NullPointerException(null)'
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExecDriver

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HIVE-977) NullPointerException when operating on a non-existing partition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain reassigned HIVE-977:
-------------------------------

    Assignee: Namit Jain

> NullPointerException when operating on a non-existing partition
> ---------------------------------------------------------------
>
>                 Key: HIVE-977
>                 URL: https://issues.apache.org/jira/browse/HIVE-977
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>            Assignee: Namit Jain
>             Fix For: 0.5.0
>
>
> create table tbl(key int) partitioned by (ds string);
> select ..  from tbl where ds='101'; 
> Total MapReduce jobs = 1
> Number of reduce tasks determined at compile time: 1
> In order to change the average load for a reducer (in bytes):
>   set hive.exec.reducers.bytes.per.reducer=<number>
> In order to limit the maximum number of reducers:
>   set hive.exec.reducers.max=<number>
> In order to set a constant number of reducers:
>   set mapred.reduce.tasks=<number>
> Job Submission failed with exception 'java.lang.NullPointerException(null)'
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExecDriver

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-977) NullPointerException when operating on a non-existing partition

Posted by "He Yongqiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

He Yongqiang updated HIVE-977:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed. Thanks Namit!

> NullPointerException when operating on a non-existing partition
> ---------------------------------------------------------------
>
>                 Key: HIVE-977
>                 URL: https://issues.apache.org/jira/browse/HIVE-977
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>            Assignee: Namit Jain
>             Fix For: 0.5.0
>
>         Attachments: hive.1.977.patch
>
>
> create table tbl(key int) partitioned by (ds string);
> select ..  from tbl where ds='101'; 
> Total MapReduce jobs = 1
> Number of reduce tasks determined at compile time: 1
> In order to change the average load for a reducer (in bytes):
>   set hive.exec.reducers.bytes.per.reducer=<number>
> In order to limit the maximum number of reducers:
>   set hive.exec.reducers.max=<number>
> In order to set a constant number of reducers:
>   set mapred.reduce.tasks=<number>
> Job Submission failed with exception 'java.lang.NullPointerException(null)'
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExecDriver

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-977) NullPointerException when operating on a non-existing partition

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-977:
----------------------------

    Attachment: hive.1.977.patch

> NullPointerException when operating on a non-existing partition
> ---------------------------------------------------------------
>
>                 Key: HIVE-977
>                 URL: https://issues.apache.org/jira/browse/HIVE-977
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>            Assignee: Namit Jain
>             Fix For: 0.5.0
>
>         Attachments: hive.1.977.patch
>
>
> create table tbl(key int) partitioned by (ds string);
> select ..  from tbl where ds='101'; 
> Total MapReduce jobs = 1
> Number of reduce tasks determined at compile time: 1
> In order to change the average load for a reducer (in bytes):
>   set hive.exec.reducers.bytes.per.reducer=<number>
> In order to limit the maximum number of reducers:
>   set hive.exec.reducers.max=<number>
> In order to set a constant number of reducers:
>   set mapred.reduce.tasks=<number>
> Job Submission failed with exception 'java.lang.NullPointerException(null)'
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExecDriver

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-977) NullPointerException when operating on a non-existing partition

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

He Yongqiang commented on HIVE-977:
-----------------------------------

+1. Will commit if tests pass.

> NullPointerException when operating on a non-existing partition
> ---------------------------------------------------------------
>
>                 Key: HIVE-977
>                 URL: https://issues.apache.org/jira/browse/HIVE-977
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>            Assignee: Namit Jain
>             Fix For: 0.5.0
>
>         Attachments: hive.1.977.patch
>
>
> create table tbl(key int) partitioned by (ds string);
> select ..  from tbl where ds='101'; 
> Total MapReduce jobs = 1
> Number of reduce tasks determined at compile time: 1
> In order to change the average load for a reducer (in bytes):
>   set hive.exec.reducers.bytes.per.reducer=<number>
> In order to limit the maximum number of reducers:
>   set hive.exec.reducers.max=<number>
> In order to set a constant number of reducers:
>   set mapred.reduce.tasks=<number>
> Job Submission failed with exception 'java.lang.NullPointerException(null)'
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExecDriver

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.