You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Shwetha GS <ss...@hortonworks.com> on 2016/05/06 06:24:37 UTC

Review Request 47057: ATLAS-747 Hive CTAS entity registration fails because userName is null

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

Review request for atlas.


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


Repository: atlas


Description
-------

With apache hive 1.2.x and hive CLI, hookContext.getUserName() is null and hive_process entity registration fails as userName is required parameter


Diffs
-----

  addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java 813177f 
  addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java b0d4c5c 
  notification/src/main/java/org/apache/atlas/hook/AtlasHook.java c58aafc 

Diff: https://reviews.apache.org/r/47057/diff/


Testing
-------

UTs, end to end test


Thanks,

Shwetha GS