[
https://issues.apache.org/jira/browse/RANGER-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qiang Zhang resolved RANGER-2033.
---------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Labels: patch
> Fix For: master, 1.1.0
>
> Attachments:
> 0001-RANGER-2033-Add-hbase-policy-and-click-the-Test-Conn.patch
>
>
> 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)