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

Add hbase policy and click the 'Test Connection' button. Connection Failed.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: master, 1.1.0
    • Component/s: plugins
    • Labels:
    • Flags:
      Patch, Important

      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.

        Attachments

          Activity

            People

            • Assignee:
              zhangqiang2 Qiang Zhang
              Reporter:
              zhangqiang2 Qiang Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: