[ 
https://issues.apache.org/jira/browse/ATLAS-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794986#comment-17794986
 ] 

Semetey Coskun commented on ATLAS-3148:
---------------------------------------

How can we configure this? Is there any additional documentation? My 
understanding the code would extend MetaStoreEventListener to catch Hive 
Metastore Standalone Events. For this class which property and value should we 
use?

 
<property>
   <name>hive.metastore.event.listeners</name>
   <value>HiveMetastoreHook</value>
</property>
OR?
<property> 
    <name>hive.exec.post.hooks</name>
    <value>org.apache.atlas.hive.hook.HiveHook</value>
</property>

> Implement Hive Metastore hook for Atlas
> ---------------------------------------
>
>                 Key: ATLAS-3148
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3148
>             Project: Atlas
>          Issue Type: New Feature
>          Components:  atlas-core
>    Affects Versions: 1.1.0
>            Reporter: Sarath Subramanian
>            Assignee: Sarath Subramanian
>            Priority: Major
>              Labels: new-feature
>             Fix For: 2.0.0, trunk
>
>
> Atlas has hive hook ([http://atlas.apache.org/Hook-Hive.html]) which 
> registers with HiveServer2 process to listen for create/update/delete 
> operations and updates the metadata in Atlas.
> If hive metastore is accessed using other clients like Impala shell, Hue or 
> other JDBC/ODBC client apps there is no way to capture the events in Atlas.
> This Jira will create a new atlas hook for Hive Metastore - stores the 
> metadata for Hive tables and partitions in a relational database, and 
> provides clients (including Hive) access to this information using the 
> metastore service API. 
> This hook is registered as post-listener (*hive.metastore.event.listeners*) 
> and DDL operations are captured and send to atlas kafka topic for processing 
> by Atlas server.
> The following DDL operations are captured:
>  * *CreateDatabaseEvent*
>  * *DropDatabaseEvent*
>  * *AlterDatabaseEvent*
>  * *CreateTableEvent*
>  * *DropTableEvent*
>  * *AlterTableEvent*
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to