Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1755

hbase system tablename is old version in ranger-hbase-plugin

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, master
    • 1.0.0, master
    • plugins
    • None

    Description

      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 .

      Bar.java
      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;
      	}
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            peng.jianhua peng.jianhua
            peng.jianhua peng.jianhua
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment