phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-672) Add GRANT and REVOKE commands using HBase AccessController
Date Wed, 22 Nov 2017 06:50:00 GMT

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

ASF GitHub Bot commented on PHOENIX-672:
----------------------------------------

Github user ankitsinghal commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/283#discussion_r152480644
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/schema/TablesNotInSyncException.java
---
    @@ -0,0 +1,16 @@
    +package org.apache.phoenix.schema;
    +
    +import org.apache.phoenix.exception.SQLExceptionCode;
    +import org.apache.phoenix.exception.SQLExceptionInfo;
    +
    +import java.sql.SQLException;
    +
    +public class TablesNotInSyncException extends SQLException {
    +    private static final long serialVersionUID = 1L;
    +    private static SQLExceptionCode code = SQLExceptionCode.TABLES_NOT_IN_SYNC;
    +
    +    public TablesNotInSyncException(String table1, String table2, String diff) {
    +        super(new SQLExceptionInfo.Builder(code).setMessage("Table: " + table1 + " and
Table: " + table2 + " differ in " + diff).build().toString(), code.getSQLState(), code.getErrorCode());
    +    }
    +
    +}
    --- End diff --
    
    we can add some comments here.


> Add GRANT and REVOKE commands using HBase AccessController
> ----------------------------------------------------------
>
>                 Key: PHOENIX-672
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-672
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: James Taylor
>            Assignee: Karan Mehta
>              Labels: namespaces, security
>             Fix For: 4.14.0
>
>         Attachments: PHOENIX-672.001.patch
>
>
> In HBase 0.98, cell-level security will be available. Take a look at [this](https://communities.intel.com/community/datastack/blog/2013/10/29/hbase-cell-security)
excellent blog post by @apurtell. Once Phoenix works on 0.96, we should add support for security
to our SQL grammar.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message