hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5754) NullPointerException when alter partition table and table does not exist
Date Fri, 08 Nov 2013 21:10:17 GMT

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

Xuefu Zhang commented on HIVE-5754:
-----------------------------------

This seems to be a bug. However, did you try to reproduce with the latest trunk?

> NullPointerException when alter partition table and table does not exist
> ------------------------------------------------------------------------
>
>                 Key: HIVE-5754
>                 URL: https://issues.apache.org/jira/browse/HIVE-5754
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Alexis Deltour
>
> I have a problem with my oozie hive action which clean my hive table, and when my table
doesn't exist and i alter partition table, i obtain different messages with 2 versions of
hive :
> Sur CDH3 hive 0.7.1 :
> hive> ALTER TABLE mytable DROP IF EXISTS PARTITION (mypart='10');
> FAILED: Error in semantic analysis: Table not found mytable  
> --> Oozie action OK.
> Sur CDH4 hive 0.10.0 :
> hive> ALTER TABLE mytable DROP IF EXISTS PARTITION (mypart='10');
> FAILED: NullPointerException null  
> --> Oozie action in error.
> Is this a bug or a configuration problem ?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message