You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sv...@apache.org on 2016/12/01 11:44:50 UTC

incubator-atlas git commit: CTAS query is not captured by Atlas with Hive2

Repository: incubator-atlas
Updated Branches:
  refs/heads/master be9c26482 -> 74a8de1a9


CTAS query is not captured by Atlas with Hive2


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/74a8de1a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/74a8de1a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/74a8de1a

Branch: refs/heads/master
Commit: 74a8de1a99cc3b511dfe7f7a233e5adb8f7a9e75
Parents: be9c264
Author: Vimal Sharma <sv...@apache.org>
Authored: Thu Dec 1 17:14:26 2016 +0530
Committer: Vimal Sharma <sv...@apache.org>
Committed: Thu Dec 1 17:14:26 2016 +0530

----------------------------------------------------------------------
 .../src/main/java/org/apache/atlas/hive/hook/HiveHook.java         | 2 +-
 release-log.txt                                                    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/74a8de1a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
----------------------------------------------------------------------
diff --git a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
index cc83c08..96a8139 100755
--- a/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
+++ b/addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java
@@ -1029,7 +1029,7 @@ public class HiveHook extends AtlasHook implements ExecuteWithHookContext {
             try {
                 this.lineageInfo = ColumnLineageUtils.buildLineageMap(lineageInfo);
                 LOG.debug("Column Lineage Map => {} ", this.lineageInfo.entrySet());
-            }catch (Exception e){
+            }catch (Throwable e){
                 LOG.warn("Column Lineage Map build failed with exception {}", e);
             }
         }

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/74a8de1a/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 84c9957..03e44f2 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -9,6 +9,7 @@ ATLAS-1060 Add composite indexes for exact match performance improvements for al
 ATLAS-1127 Modify creation and modification timestamps to Date instead of Long(sumasai)
 
 ALL CHANGES:
+ATLAS-1343 CTAS query is not captured by Atlas with Hive2 (svimal2106)
 ATLAS-1337 fixed FalconHookIT (ayubpathan via mneethiraj)
 ATLAS-1338 fix SqoopHookIT (ayubpathan via mneethiraj)
 ATLAS-1300 LineageResource API needs to map to the new LineageREST API (sarath.kum4r@gmail.com via svimal2106)