Repository: atlas
Updated Branches:
  refs/heads/branch-0.8 ee7411082 -> d2110c379


ATLAS-2921: Update import scripts exit status in case of java error


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

Branch: refs/heads/branch-0.8
Commit: d2110c3798e9daeb3f7e957843396c1461601e4d
Parents: ee74110
Author: Laszlo Denes Terjeki <lterj...@hortonworks.com>
Authored: Tue Oct 16 22:58:07 2018 +0200
Committer: rmani <rm...@hortonworks.com>
Committed: Tue Oct 16 14:27:34 2018 -0700

----------------------------------------------------------------------
 addons/hbase-bridge/src/bin/import-hbase.sh | 2 ++
 addons/hive-bridge/src/bin/import-hive.sh   | 3 +++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/d2110c37/addons/hbase-bridge/src/bin/import-hbase.sh
----------------------------------------------------------------------
diff --git a/addons/hbase-bridge/src/bin/import-hbase.sh 
b/addons/hbase-bridge/src/bin/import-hbase.sh
index d429ea2..2011eb9 100644
--- a/addons/hbase-bridge/src/bin/import-hbase.sh
+++ b/addons/hbase-bridge/src/bin/import-hbase.sh
@@ -153,3 +153,5 @@ echo "Log file for import is $LOGFILE"
 RETVAL=$?
 [ $RETVAL -eq 0 ] && echo HBase Data Model imported successfully!!!
 [ $RETVAL -ne 0 ] && echo Failed to import HBase Data Model!!!
+
+exit $RETVAL

http://git-wip-us.apache.org/repos/asf/atlas/blob/d2110c37/addons/hive-bridge/src/bin/import-hive.sh
----------------------------------------------------------------------
diff --git a/addons/hive-bridge/src/bin/import-hive.sh 
b/addons/hive-bridge/src/bin/import-hive.sh
index 49e6d70..366ddf1 100755
--- a/addons/hive-bridge/src/bin/import-hive.sh
+++ b/addons/hive-bridge/src/bin/import-hive.sh
@@ -148,3 +148,6 @@ echo "Log file for import is $LOGFILE"
 RETVAL=$?
 [ $RETVAL -eq 0 ] && echo Hive Meta Data imported successfully!!!
 [ $RETVAL -ne 0 ] && echo Failed to import Hive Meta Data!!!
+
+exit $RETVAL
+

Reply via email to