You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by rm...@apache.org on 2018/10/16 21:06:49 UTC
atlas git commit: ATLAS-2921: Update import scripts exit status in
case of java error
Repository: atlas
Updated Branches:
refs/heads/master fdab2efd7 -> 7217f6781
ATLAS-2921: Update import scripts exit status in case of java error
Signed-off-by: rmani <rm...@hortonworks.com>
Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/7217f678
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/7217f678
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/7217f678
Branch: refs/heads/master
Commit: 7217f6781dfe74d49531cd16a4d80285a8552dac
Parents: fdab2ef
Author: Laszlo Denes Terjeki <lt...@hortonworks.com>
Authored: Tue Oct 16 22:58:07 2018 +0200
Committer: rmani <rm...@hortonworks.com>
Committed: Tue Oct 16 14:06:20 2018 -0700
----------------------------------------------------------------------
addons/hbase-bridge/src/bin/import-hbase.sh | 2 ++
addons/hive-bridge/src/bin/import-hive.sh | 3 +++
addons/kafka-bridge/src/bin/import-kafka.sh | 5 ++++-
3 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/atlas/blob/7217f678/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/7217f678/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
+
http://git-wip-us.apache.org/repos/asf/atlas/blob/7217f678/addons/kafka-bridge/src/bin/import-kafka.sh
----------------------------------------------------------------------
diff --git a/addons/kafka-bridge/src/bin/import-kafka.sh b/addons/kafka-bridge/src/bin/import-kafka.sh
index 33b4652..2af9efd 100644
--- a/addons/kafka-bridge/src/bin/import-kafka.sh
+++ b/addons/kafka-bridge/src/bin/import-kafka.sh
@@ -142,4 +142,7 @@ echo "Log file for import is $LOGFILE"
RETVAL=$?
[ $RETVAL -eq 0 ] && echo Kafka Data Model imported successfully!!!
-[ $RETVAL -ne 0 ] && echo Failed to import Kafka Data Model!!!
\ No newline at end of file
+[ $RETVAL -ne 0 ] && echo Failed to import Kafka Data Model!!!
+
+exit $RETVAL
+