You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2014/09/16 23:35:35 UTC

[jira] [Updated] (SENTRY-322) Add tests for rest of the hive operations

     [ https://issues.apache.org/jira/browse/SENTRY-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sravya Tirukkovalur updated SENTRY-322:
---------------------------------------
    Description: 
We need to add test coverage for the following hive commands:

HiveOperation.ALTERPARTITION_SERIALIZER
HiveOperation.ALTERTBLPART_SKEWED_LOCATION
HiveOperation.ALTERTABLE_ARCHIVE
HiveOperation.ALTERTABLE_UNARCHIVE
HiveOperation.ALTERTABLE_SERIALIZER
HiveOperation.ALTERINDEX_PROPS
HiveOperation.ALTERVIEW_PROPERTIES

HiveOperation.LOCKTABLE
HiveOperation.UNLOCKTABLE

HiveOperation.CREATEFUNCTION
HiveOperation.DROPFUNCTION

HiveOperation.SHOW_TABLESTATUS

We also need to make sure we have tests for these:
Explain	 	 	 
DESCFUNCTION	 	 	 
MSCK	 	 	 	 	 
ALTER TABLE MERGE FILE	 	 	 
ALTER PARTITION MERGE FILE	 	 	 
ALTER TABLE SKEWED	 	 	 
TRANSFORM
ADD JAR	(should not be allowed)
SHOW FUNCTIONs (Not restricted	)
SHOW LOCKS	(Not Restricted	 )
SHOW table extended 
Describe table on a view



  was:
We need to add test coverage for the following hive commands:

HiveOperation.ALTERPARTITION_SERIALIZER
HiveOperation.ALTERTBLPART_SKEWED_LOCATION
HiveOperation.ALTERTABLE_ARCHIVE
HiveOperation.ALTERTABLE_UNARCHIVE
HiveOperation.ALTERTABLE_SERIALIZER
HiveOperation.ALTERINDEX_PROPS
HiveOperation.ALTERINDEX_REBUILD
HiveOperation.ALTERVIEW_PROPERTIES

HiveOperation.LOCKTABLE
HiveOperation.UNLOCKTABLE

HiveOperation.CREATEFUNCTION
HiveOperation.DROPFUNCTION

HiveOperation.SHOW_TABLESTATUS

We also need to make sure we have tests for these:
Explain	 	 	 
DESCFUNCTION	 	 	 
MSCK	 	 	 
CREATE TABLE EXTERNAL	 	 	 
ALTER TABLE MERGE FILE	 	 	 
ALTER PARTITION MERGE FILE	 	 	 
ALTER TABLE SKEWED	 	 	 
TRANSFORM
ADD JAR	(should not be allowed)
SHOW FUNCTIONs (Not restricted	)
SHOW LOCKS	(Not Restricted	 )
SHOW table extended 
Describe table on a view




> Add tests for rest of the hive operations
> -----------------------------------------
>
>                 Key: SENTRY-322
>                 URL: https://issues.apache.org/jira/browse/SENTRY-322
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Ashish Kumar Singh
>             Fix For: 1.5.0
>
>
> We need to add test coverage for the following hive commands:
> HiveOperation.ALTERPARTITION_SERIALIZER
> HiveOperation.ALTERTBLPART_SKEWED_LOCATION
> HiveOperation.ALTERTABLE_ARCHIVE
> HiveOperation.ALTERTABLE_UNARCHIVE
> HiveOperation.ALTERTABLE_SERIALIZER
> HiveOperation.ALTERINDEX_PROPS
> HiveOperation.ALTERVIEW_PROPERTIES
> HiveOperation.LOCKTABLE
> HiveOperation.UNLOCKTABLE
> HiveOperation.CREATEFUNCTION
> HiveOperation.DROPFUNCTION
> HiveOperation.SHOW_TABLESTATUS
> We also need to make sure we have tests for these:
> Explain	 	 	 
> DESCFUNCTION	 	 	 
> MSCK	 	 	 	 	 
> ALTER TABLE MERGE FILE	 	 	 
> ALTER PARTITION MERGE FILE	 	 	 
> ALTER TABLE SKEWED	 	 	 
> TRANSFORM
> ADD JAR	(should not be allowed)
> SHOW FUNCTIONs (Not restricted	)
> SHOW LOCKS	(Not Restricted	 )
> SHOW table extended 
> Describe table on a view



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)