You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/05/20 23:54:45 UTC

[jira] Created: (HIVE-500) select from newly created table will fail

select from newly created table will fail
-----------------------------------------

                 Key: HIVE-500
                 URL: https://issues.apache.org/jira/browse/HIVE-500
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: Zheng Shao


The bug can be reproduced by:
{code}
create table zshao_int (a int);
select 1 from zshao_int;
{code}

The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.


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


[jira] Resolved: (HIVE-500) select from newly created table will fail

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

Namit Jain resolved HIVE-500.
-----------------------------

       Resolution: Duplicate
    Fix Version/s: 0.4.0
     Hadoop Flags: [Reviewed]

DUPLICATE OF 507

> select from newly created table will fail
> -----------------------------------------
>
>                 Key: HIVE-500
>                 URL: https://issues.apache.org/jira/browse/HIVE-500
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>             Fix For: 0.4.0
>
>         Attachments: hive-500-2009-05-21.patch, hive-500-2009-05-23.patch
>
>
> The bug can be reproduced by:
> {code}
> create table zshao_int (a int);
> select 1 from zshao_int;
> {code}
> The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.

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


[jira] Updated: (HIVE-500) select from newly created table will fail

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

He Yongqiang updated HIVE-500:
------------------------------

    Attachment: hive-500-2009-05-23.patch

Namit did a patch for HIVE-507, which includes the codes for fixing this issue. :)
Patched another file against trunk code.

> select from newly created table will fail
> -----------------------------------------
>
>                 Key: HIVE-500
>                 URL: https://issues.apache.org/jira/browse/HIVE-500
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>         Attachments: hive-500-2009-05-21.patch, hive-500-2009-05-23.patch
>
>
> The bug can be reproduced by:
> {code}
> create table zshao_int (a int);
> select 1 from zshao_int;
> {code}
> The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.

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


[jira] Resolved: (HIVE-500) select from newly created table will fail

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

Zheng Shao resolved HIVE-500.
-----------------------------

      Resolution: Fixed
    Release Note: HIVE-500. Fix select from newly created table. (Yongqiang He via zshao)

Committed. Thanks Yongqiang.

> select from newly created table will fail
> -----------------------------------------
>
>                 Key: HIVE-500
>                 URL: https://issues.apache.org/jira/browse/HIVE-500
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>             Fix For: 0.4.0
>
>         Attachments: hive-500-2009-05-21.patch, hive-500-2009-05-23.patch
>
>
> The bug can be reproduced by:
> {code}
> create table zshao_int (a int);
> select 1 from zshao_int;
> {code}
> The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.

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


[jira] Updated: (HIVE-500) select from newly created table will fail

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

He Yongqiang updated HIVE-500:
------------------------------

    Attachment: hive-500-2009-05-21.patch

It is caused by inputting nonexist files

> select from newly created table will fail
> -----------------------------------------
>
>                 Key: HIVE-500
>                 URL: https://issues.apache.org/jira/browse/HIVE-500
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>         Attachments: hive-500-2009-05-21.patch
>
>
> The bug can be reproduced by:
> {code}
> create table zshao_int (a int);
> select 1 from zshao_int;
> {code}
> The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.

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


[jira] Reopened: (HIVE-500) select from newly created table will fail

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

Zheng Shao reopened HIVE-500:
-----------------------------


Yep I think we still need this to go in. Reviewing it right now...

> select from newly created table will fail
> -----------------------------------------
>
>                 Key: HIVE-500
>                 URL: https://issues.apache.org/jira/browse/HIVE-500
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>             Fix For: 0.4.0
>
>         Attachments: hive-500-2009-05-21.patch, hive-500-2009-05-23.patch
>
>
> The bug can be reproduced by:
> {code}
> create table zshao_int (a int);
> select 1 from zshao_int;
> {code}
> The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.

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


[jira] Commented: (HIVE-500) select from newly created table will fail

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

He Yongqiang commented on HIVE-500:
-----------------------------------

Namit, I think HIVE-507 does not resolve this issue. The error still exists there.

> select from newly created table will fail
> -----------------------------------------
>
>                 Key: HIVE-500
>                 URL: https://issues.apache.org/jira/browse/HIVE-500
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>             Fix For: 0.4.0
>
>         Attachments: hive-500-2009-05-21.patch, hive-500-2009-05-23.patch
>
>
> The bug can be reproduced by:
> {code}
> create table zshao_int (a int);
> select 1 from zshao_int;
> {code}
> The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.

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


[jira] Assigned: (HIVE-500) select from newly created table will fail

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

Ashish Thusoo reassigned HIVE-500:
----------------------------------

    Assignee: He Yongqiang

assigned.

> select from newly created table will fail
> -----------------------------------------
>
>                 Key: HIVE-500
>                 URL: https://issues.apache.org/jira/browse/HIVE-500
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>         Attachments: hive-500-2009-05-21.patch
>
>
> The bug can be reproduced by:
> {code}
> create table zshao_int (a int);
> select 1 from zshao_int;
> {code}
> The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.

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


[jira] Commented: (HIVE-500) select from newly created table will fail

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

Zheng Shao commented on HIVE-500:
---------------------------------

Without the patch, the error message from the map task is:

java.lang.RuntimeException: Map operator close failed during initialize
	at org.apache.hadoop.hive.ql.exec.ExecMapper.close(ExecMapper.java:89)
	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:220)
	at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2137)
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Configuration and input path are inconsistent
	at org.apache.hadoop.hive.ql.exec.MapOperator.initialize(MapOperator.java:162)
	at org.apache.hadoop.hive.ql.exec.ExecMapper.close(ExecMapper.java:84)
	... 3 more



> select from newly created table will fail
> -----------------------------------------
>
>                 Key: HIVE-500
>                 URL: https://issues.apache.org/jira/browse/HIVE-500
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>             Fix For: 0.4.0
>
>         Attachments: hive-500-2009-05-21.patch, hive-500-2009-05-23.patch
>
>
> The bug can be reproduced by:
> {code}
> create table zshao_int (a int);
> select 1 from zshao_int;
> {code}
> The problem is that the directory for the table does not exist yet, but FileInputFormat.getSplits will fail in case the directory does not exist.

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