[
https://issues.apache.org/jira/browse/HCATALOG-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096150#comment-13096150
]
Vandana Ayyalasomayajula commented on HCATALOG-89:
--------------------------------------------------
I have attached a new patch, which addresses Alan's concern over disabling
security checks for storage handlers. I have created an abstract class
"HCatStorageHandler" which contains a method to return the authorization
provider for storage handler. The authorization provider ( which will be an
implementation of HiveAuthrizationProvider), can be used to authorize the user.
> Support for creating non-native tables
> --------------------------------------
>
> Key: HCATALOG-89
> URL: https://issues.apache.org/jira/browse/HCATALOG-89
> Project: HCatalog
> Issue Type: New Feature
> Reporter: Vandana Ayyalasomayajula
> Assignee: Vandana Ayyalasomayajula
> Labels: HBase, Tables
> Attachments: HCATALOG-89-rev1.patch
>
>
> HCatalog CLI currently does not support the "STORED BY" token from HIVE,
> which is used to create non-native tables (for example in HBase). This
> feature will help users in creating HBase tables and then enable them to
> read/write to those tables using the HBase storage handler.
> In addition, the "CreateTableHook" during the post analysis phase (
> "postAnalyze" method ) checks for authorization to create table. This
> authorization would fail as there is no native table for tables created by
> "STORED BY" tokens. The "postAnalyze" method should first check if there
> exists a storage handler for the DDL task, if yes, then it should not call
> the "authorize" method. In future, this authorization process should be
> pushed to the storage handlers.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira