You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Alexis Deltour (JIRA)" <ji...@apache.org> on 2013/11/06 14:37:33 UTC
[jira] [Updated] (HIVE-5754) NullPointerException when alter
partition table and table does not exist
[ https://issues.apache.org/jira/browse/HIVE-5754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexis Deltour updated HIVE-5754:
---------------------------------
Description:
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 ?
was:
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.
> 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)