- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
HDP HBASE Classpath
- Labels:
-
Apache Atlas
-
Apache HBase
Created ‎09-17-2019 08:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am reading "Enable the Atlas Book & Bridge for Apache HBase" https://atlas.apache.org/Hook-HBase.html, and get stuck on the step below
Link Atlas hook jars in HBase classpath - 'ln -s <atlas package>/hook/hbase/* <hbase-home>/lib/'
Where is the HBase classpath in HDP?
I checked the file hbase_site.xml but still got lost. From the file,
# Extra Java CLASSPATH elements. Optional.
export HBASE_CLASSPATH=${HBASE_CLASSPATH}
Is the classpath env variable specified somewhere else?
Created ‎10-03-2019 12:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Seaport
If you're using ambari, Enable Atlas Hook should take case of that. In addition to that, follow the steps below:
- cp /usr/hdp/current/atlas-server/conf/atlas-application.properties /etc/hbase/conf
- get a valid ticket from atlas user
- export HBASE_CONF_DIR=/usr/hdp/current/hbase-client/conf
- In ambari > hbase > advanced hbase-site add: hbase.coprocessor.master.classes=org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor, org.apache.atlas.hbase.hook.HBaseAtlasCoprocessor (Restart required).
- Finally run: /usr/hdp/current/atlas-server/hook-bin/import-hbase.sh
Created ‎10-03-2019 12:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Seaport
If you're using ambari, Enable Atlas Hook should take case of that. In addition to that, follow the steps below:
- cp /usr/hdp/current/atlas-server/conf/atlas-application.properties /etc/hbase/conf
- get a valid ticket from atlas user
- export HBASE_CONF_DIR=/usr/hdp/current/hbase-client/conf
- In ambari > hbase > advanced hbase-site add: hbase.coprocessor.master.classes=org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor, org.apache.atlas.hbase.hook.HBaseAtlasCoprocessor (Restart required).
- Finally run: /usr/hdp/current/atlas-server/hook-bin/import-hbase.sh
Created ‎11-20-2019 09:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ManuelCalvo Thanks.
Your solution works. My environment does not have Kerberos and Ranger enabled. So,
- I skipped step 2
- For step 4, hbase.coprocessor.master.classes = org.apache.atlas.hbase.hook.HBaseAtlasCoprocessor
Also, as I found out, Atlas currently only stores HBase metadata and does not store HBase lineage data as it does for Hive.
