You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "peng.jianhua (JIRA)" <ji...@apache.org> on 2017/08/31 05:19:00 UTC

[jira] [Created] (RANGER-1755) hbase system tablename is old version in ranger-hbase-plugin

peng.jianhua created RANGER-1755:
------------------------------------

             Summary: hbase system tablename is old version in ranger-hbase-plugin 
                 Key: RANGER-1755
                 URL: https://issues.apache.org/jira/browse/RANGER-1755
             Project: Ranger
          Issue Type: Bug
          Components: plugins
    Affects Versions: 1.0.0, master
            Reporter: peng.jianhua
            Assignee: peng.jianhua


hbase0.96+ version: system table is : "hbase:acl" ,"hbase:meta", "hbase:namespace" 
and 
hbase0.96-  version: system table  is  "hbase:meta", "-ROOT-", ".META."

ranger should support  hbase0.96+ version .

{code:title=Bar.java|borderStyle=solid}
RangerAuthorizationCoprocessor.java
protected boolean isSpecialTable(String input) {
		final String[] specialTables = new String[] { "hbase:meta", "-ROOT-", ".META."};
		for (String specialTable : specialTables ) {
			if (specialTable.equals(input)) {
				return true;
			}
		}			
		return false;
	}
{code}



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