Repository: incubator-atlas Updated Branches: refs/heads/master 99d514367 -> de0bf1db9
ATLAS-1025 Set HIVE_HOME if hive is available in relative path to import hive script (svimal2106 via shwethags) Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/34f67ae0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/34f67ae0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/34f67ae0 Branch: refs/heads/master Commit: 34f67ae0e75b61a12f5c261b358a64478ec37f07 Parents: 99d5143 Author: Shwetha GS <[email protected]> Authored: Thu Jul 14 16:07:48 2016 +0530 Committer: Shwetha GS <[email protected]> Committed: Thu Jul 14 16:07:48 2016 +0530 ---------------------------------------------------------------------- addons/hive-bridge/src/bin/import-hive.sh | 8 ++++++-- release-log.txt | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/34f67ae0/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 7cbc738..1032aa2 100755 --- a/addons/hive-bridge/src/bin/import-hive.sh +++ b/addons/hive-bridge/src/bin/import-hive.sh @@ -78,8 +78,12 @@ if [ -f "${HIVE_CONF}/hive-env.sh" ]; then fi if [ -z "$HIVE_HOME" ]; then - echo "Please set HIVE_HOME to the root of Hive installation" - exit 1 + if [ -d "${BASEDIR}/../hive" ]; then + HIVE_HOME=${BASEDIR}/../hive + else + echo "Please set HIVE_HOME to the root of Hive installation" + exit 1 + fi fi HIVE_CP="${HIVE_CONF}" http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/34f67ae0/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index 4469309..46268c9 100644 --- a/release-log.txt +++ b/release-log.txt @@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES: ALL CHANGES: +ATLAS-1025 Set HIVE_HOME if hive is available in relative path to import hive script (svimal2106 via shwethags) ATLAS-1009 Source HIVE_HOME and HIVE_CONF_DIR from hive_env.sh (svimal2106 via shwethags) ATLAS-847 UI: Audit versioning does not paginate details from Atlas server (Kalyanikashikar via shwethags) ATLAS-1004 Option to enable taxonomy feature (kevalbhatt18 via shwethags)
