atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From suma...@apache.org
Subject incubator-atlas git commit: ATLAS-954 Get hadoop classpath if command hadoop is in PATH (svimal2106 via sumasai)
Date Tue, 28 Jun 2016 17:31:48 GMT
Repository: incubator-atlas
Updated Branches:
  refs/heads/master 2b28ce4d0 -> 377bc6351


ATLAS-954 Get hadoop classpath if command hadoop is in PATH (svimal2106 via sumasai)


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

Branch: refs/heads/master
Commit: 377bc63519dba0b6408af86e6d567a5c8d1f48e6
Parents: 2b28ce4
Author: Suma Shivaprasad <sumasai.shivaprasad@gmail.com>
Authored: Tue Jun 28 10:31:41 2016 -0700
Committer: Suma Shivaprasad <sumasai.shivaprasad@gmail.com>
Committed: Tue Jun 28 10:31:41 2016 -0700

----------------------------------------------------------------------
 addons/hive-bridge/src/bin/import-hive.sh | 3 +++
 release-log.txt                           | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/377bc635/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 7337de9..7a5c611 100755
--- a/addons/hive-bridge/src/bin/import-hive.sh
+++ b/addons/hive-bridge/src/bin/import-hive.sh
@@ -87,6 +87,9 @@ if [ ! -z "$HADOOP_CLASSPATH" ]; then
     HADOOP_CP=$HADOOP_CLASSPATH
 elif [ ! -z "$HADOOP_HOME" ]; then
     HADOOP_CP=`$HADOOP_HOME/bin/hadoop classpath`
+elif [ $(command -v hadoop) ]; then
+    HADOOP_CP=`hadoop classpath`
+    echo $HADOOP_CP
 else
     echo "Environment variable HADOOP_CLASSPATH or HADOOP_HOME need to be set"
     exit 1

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/377bc635/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 7ef05d6..20fb7f1 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -6,6 +6,7 @@ INCOMPATIBLE CHANGES:
 
 
 ALL CHANGES:
+ATLAS-954 Get hadoop classpath if command hadoop is in PATH (svimal2106 via sumasai)
 ATLAS-919 UI : Deleted references should be shown in red or filtered out (kevalbhatt18 via
sumasai)
 ATLAS-927 aboutAtlas_tmpl.html has hard-coded project version (Kalyanikashikar via yhemanth)
 ATLAS-624 UI: Clicking a tag hyperlink should always result in DSL search. In some cases,
results in full-text search. (Kalyanikashikar via yhemanth)


Mime
View raw message