Details
Description
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.