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

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

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

    https://github.com/apache/phoenix/pull/283#discussion_r152646448
  
    --- 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 --
    
    Sure. Will refactor.


> 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)

Reply via email to