- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Timeout while resource lookup/test connection of hbase from ranger to zookeeper
- Labels:
-
Apache HBase
-
Apache Ranger
Created ‎06-06-2016 10:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
just a query , what is the timeout of ranger connection to hbase (through zookeeper) in habse test connection/ resource lookup
Created ‎06-06-2016 05:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go to custom ranger-hbase-security section in ambari and add the following. These setting in ranger will help you modify the read and connection timeout. Please try increasing this and see how it goes?
ranger.plugin.hbase.policy.rest.client.connection.timeoutMs=120000
ranger.plugin.hbase.policy.rest.client.read.timeoutMs=30000
Created ‎06-06-2016 12:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try enabling debug and check the ranger admin logs for issue. Also check hbase logs for errors if any -
ranger debug -
vi /usr/hdp/current/ranger-admin/ews/webapp/WEB-INF/log4j.xml
Modify - <priority value="info" />
To - <priority value="debug" />
And restart ranger.
Try testing the Hbase repository connection again.
Created ‎06-06-2016 12:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please do check open connection limit for zookeeper.
Created ‎06-06-2016 01:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is the correct hbase-site.xml accessible (on the classpath) ?
Can you pastebin the stack trace when timeout is encountered ?
Which version of HDP are you using ?
Thanks
Created ‎06-06-2016 05:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Go to custom ranger-hbase-security section in ambari and add the following. These setting in ranger will help you modify the read and connection timeout. Please try increasing this and see how it goes?
ranger.plugin.hbase.policy.rest.client.connection.timeoutMs=120000
ranger.plugin.hbase.policy.rest.client.read.timeoutMs=30000
