Repository: atlas Updated Branches: refs/heads/branch-1.0 902bd153e -> 87b705f90
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/87b705f9 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/87b705f9 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/87b705f9 Branch: refs/heads/branch-1.0 Commit: 87b705f90fb68ba455387e13b2dcf55c5d91dfbf Parents: 902bd15 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:12:05 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/87b705f9/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/87b705f9/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/87b705f9/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 +