You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2018/03/22 08:24:00 UTC

[jira] [Created] (RANGER-2033) Add hbase policy and click the 'Test Connection' button. Connection Failed.

Qiang Zhang created RANGER-2033:
-----------------------------------

             Summary: Add hbase policy and click the 'Test Connection' button. Connection Failed.
                 Key: RANGER-2033
                 URL: https://issues.apache.org/jira/browse/RANGER-2033
             Project: Ranger
          Issue Type: Bug
          Components: plugins
    Affects Versions: 1.0.0
            Reporter: Qiang Zhang
            Assignee: Qiang Zhang
             Fix For: master, 1.1.0


Clone the lastest code from https://git-wip-us.apache.org/repos/asf/ranger.git. Build the source and install Ranger. Then do as follows:
1. Add hbase policy;
2. Input right parameter;
3. Click the 'Test Connection' button.
The error information is as follows:
Unable to retrieve any files using given parameters, You can still save the repository and start creating policies, but you would not be able to use autocomplete for resource names. Check ranger_admin.log for more info.

java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/ZooKeeperConnectionException. 
org/apache/hadoop/hbase/ZooKeeperConnectionException. 
org.apache.hadoop.hbase.ZooKeeperConnectionException. 

The reason for the error is that the hbase-client-1.2.6.jar file loss under ./ews/webapp/WEB-INF/classes/ranger-plugins/hbase directory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)