phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (PHOENIX-672) Add GRANT and REVOKE commands using HBase AccessController
Date Mon, 09 Apr 2018 16:18:01 GMT

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

Josh Elser reopened PHOENIX-672:
--------------------------------

[~karanmehta93], this is breaking compilation on 5.x-HBase-2.0.
{code:java}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project phoenix-core: Compilation failure: Compilation failure:
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:[102,32]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: package org.apache.phoenix.parse
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/parse/ParseNodeFactory.java:[928,12]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.parse.ParseNodeFactory
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/target/generated-sources/antlr3/org/apache/phoenix/parse/PhoenixSQLParser.java:[1408,22]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.parse.PhoenixSQLParser
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/target/generated-sources/antlr3/org/apache/phoenix/parse/PhoenixSQLParser.java:[1547,22]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.parse.PhoenixSQLParser
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:[174,32]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: package org.apache.phoenix.parse
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:[4450,44]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.schema.MetaDataClient
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:[4492,75]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.schema.MetaDataClient
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:[4500,88]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.schema.MetaDataClient
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:[4555,74]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.schema.MetaDataClient
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:[4566,73]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.schema.MetaDataClient
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:[1177,65]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.jdbc.PhoenixStatement
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:[1177,20]
org.apache.phoenix.jdbc.PhoenixStatement.ExecutableChangePermsStatement is not abstract and
does not override abstract method getOperation() in org.apache.phoenix.parse.BindableStatement
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:[1188,54]
cannot find symbol
[ERROR]   symbol: method getOperation()
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/parse/ParseNodeFactory.java:[930,20]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.parse.ParseNodeFactory
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/target/generated-sources/antlr3/org/apache/phoenix/parse/PhoenixSQLParser.java:[1409,17]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.parse.PhoenixSQLParser
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/target/generated-sources/antlr3/org/apache/phoenix/parse/PhoenixSQLParser.java:[1548,17]
cannot find symbol
[ERROR]   symbol:   class ChangePermsStatement
[ERROR]   location: class org.apache.phoenix.parse.PhoenixSQLParser
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:[4533,23]
cannot find symbol
[ERROR]   symbol:   class TablesNotInSyncException
[ERROR]   location: class org.apache.phoenix.schema.MetaDataClient
[ERROR] /Users/jelser/projects/phoenix-copy.git/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:[4549,27]
cannot find symbol
[ERROR]   symbol:   class TablesNotInSyncException
[ERROR]   location: class org.apache.phoenix.schema.MetaDataClient
[ERROR] -> [Help 1]{code}
It seems like the ChangePermsStatement.java file is missed on the 5.x branch? Could you look
at this, please? If you are busy, I'll try to reconcile.

> 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
>            Priority: Major
>              Labels: namespaces, security
>             Fix For: 4.14.0, 5.0.0
>
>         Attachments: PHOENIX-672.001.patch, PHOENIX-672.002.patch, PHOENIX-672.003.patch,
PHOENIX-672_5.x-HBase-2.0
>
>
> 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
(v7.6.3#76005)

Mime
View raw message