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

Palash Das commented on ATLAS-3148:
-----------------------------------

AtlasHiveHookContext has this particular piece of code,

[https://github.com/apache/atlas/blob/458d9b94f5b2897f19cc297f580106da263a1112/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/AtlasHiveHookContext.java#L134-L136]


{code:java}
        return hiveContext != null ? hiveContext.getLinfo() : null;
{code}




*which means no lineage info will be collected for the views when  using 
metastore hook.*

I'm planning to build support of additional plugins to parse presto views and 
provide lineage info.
Now to do so the only entrypoint is hive metastore, not hive. Also hive bridge 
doesn’t support lineage info at all (even for hive views). So using hive also I 
can not import presto views on atlas. 

> 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.3.4#803005)

Reply via email to