Configuring Hive Hook
Atlas requires changes to hive-site.xml
as well as additional configuration files as
follows:
Create a new file in
/etc/hive/conf
named client.properties and another new file in/etc/hive/conf/conf.server
named client.properties with the following contents:atlas.http.authentication.enabled=false|true
atlas.http.authentication.type=simple|kerberos
Configure the Hive post execution hook by manually adding the following properties to hive-site.xml:
<property> <name>atlas.cluster.name</name> <value>NAME-OF-CLUSTER</value> </property> <property> <name>atlas.rest.address</name> <value>http://ATLAS-FQDN:21000</value> </property>
Add the Atlas hook to list of any existing Hive post execution hooks. For example:
<property> <name>hive.exec.post.hooks</name> <value>org.apache.hadoop.hive.ql.hooks.ATSHook, org.apache.atlas.hive.hook.HiveHook</value> </property>