hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3152) Disallow certain character patterns in partition names
Date Thu, 25 Oct 2012 00:16:13 GMT

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

Hudson commented on HIVE-3152:
------------------------------

Integrated in Hive-trunk-h0.21 #1755 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1755/])
    HIVE-3152. Disallow certain character patterns in partition names. (Ivan Gorbachev via
kevinwilfong) (Revision 1401784)

     Result = FAILURE
kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1401784
Files : 
* /hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
* /hive/trunk/conf/hive-default.xml.template
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/PartitionNameWhitelistPreEventListener.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/AddPartitionEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/AlterPartitionEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/AlterTableEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/CreateDatabaseEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/CreateTableEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/DropDatabaseEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/DropPartitionEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/DropTableEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/LoadPartitionDoneEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/PreCreateTableEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/PreDropDatabaseEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/PreDropTableEvent.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/PreEventContext.java
* /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/events/PreLoadPartitionDoneEvent.java
* /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/DummyListener.java
* /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreEventListener.java
* /hive/trunk/metastore/src/test/org/apache/hadoop/hive/metastore/TestPartitionNameWhitelistPreEventHook.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/MetaDataExportListener.java
* /hive/trunk/ql/src/test/queries/clientnegative/add_partition_with_whitelist.q
* /hive/trunk/ql/src/test/queries/clientnegative/dynamic_partitions_with_whitelist.q
* /hive/trunk/ql/src/test/queries/clientpositive/add_partition_no_whitelist.q
* /hive/trunk/ql/src/test/queries/clientpositive/add_partition_with_whitelist.q
* /hive/trunk/ql/src/test/results/clientnegative/add_partition_with_whitelist.q.out
* /hive/trunk/ql/src/test/results/clientnegative/dynamic_partitions_with_whitelist.q.out
* /hive/trunk/ql/src/test/results/clientpositive/add_partition_no_whitelist.q.out
* /hive/trunk/ql/src/test/results/clientpositive/add_partition_with_whitelist.q.out

                
> Disallow certain character patterns in partition names
> ------------------------------------------------------
>
>                 Key: HIVE-3152
>                 URL: https://issues.apache.org/jira/browse/HIVE-3152
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore
>    Affects Versions: 0.10.0
>            Reporter: Andrew Poland
>            Assignee: Ivan Gorbachev
>            Priority: Minor
>              Labels: api-addition, configuration-addition
>             Fix For: 0.10.0
>
>         Attachments: jira-3152.0.patch, jira-3152.1.patch, jira-3152.2.patch
>
>
> New event listener to allow metastore to reject a partition name if it contains undesired
character patterns such as unicode and commas.
> Match pattern is implemented as a regular expression
> Modifies append_partition to call a new MetaStorePreventListener implementation, PreAppendPartitionEvent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message