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