You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Pinal Shah <pi...@freestoneinfotech.com> on 2020/02/03 10:09:41 UTC

Review Request 72076: ATLAS-3606 : Hive Hook: Missing HIVE_PROCESS attribute values

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72076/
-----------------------------------------------------------

Review request for atlas, Madhan Neethiraj, Nixon Rodrigues, and Sarath Subramanian.


Bugs: ATLAS-3606
    https://issues.apache.org/jira/browse/ATLAS-3606


Repository: atlas


Description
-------

When we create table in hive, value of attributes cluster_name, owner, query_text is missing in the corresponding hive_process entity on Atlas


Diffs
-----

  addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/BaseHiveEvent.java 60dc1147f 


Diff: https://reviews.apache.org/r/72076/diff/1/


Testing
-------

1) CREATETABLE operation
2) CREATETABLE_AS_SELECT operation 

tested by changing user in hive and then creating operation, the owner in hive_process is reflected


Thanks,

Pinal Shah


Re: Review Request 72076: ATLAS-3606 : Hive Hook: Missing HIVE_PROCESS attribute values

Posted by Pinal Shah <pi...@freestoneinfotech.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72076/
-----------------------------------------------------------

(Updated Feb. 3, 2020, 11:53 a.m.)


Review request for atlas, Madhan Neethiraj, Nixon Rodrigues, and Sarath Subramanian.


Bugs: ATLAS-3606
    https://issues.apache.org/jira/browse/ATLAS-3606


Repository: atlas


Description
-------

When we create table in hive, value of attributes cluster_name, owner, query_text is missing in the corresponding hive_process entity on Atlas


Diffs
-----

  addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/events/BaseHiveEvent.java 60dc1147f 


Diff: https://reviews.apache.org/r/72076/diff/1/


Testing (updated)
-------

1) CREATETABLE operation
2) CREATETABLE_AS_SELECT operation 
3) CREATEVIEW operation
4) ALTERVIEW_AS operation
5) IMPORT operation
6) EXPORT operation, here owner is N/A

tested by changing user in hive and then creating operation, the owner in hive_process is reflected


Thanks,

Pinal Shah