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/2ba10006 Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/2ba10006 Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/2ba10006 Branch: refs/heads/0.7-incubating Commit: 2ba10006144cd6557807c48f805bcadbc2d46895 Parents: 449fd87 Author: Shwetha GS <[email protected]> Authored: Wed Jun 29 12:15:37 2016 +0530 Committer: Shwetha GS <[email protected]> Committed: Wed Jun 29 12:15:37 2016 +0530 ---------------------------------------------------------------------- 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/2ba10006/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/2ba10006/release-log.txt ---------------------------------------------------------------------- diff --git a/release-log.txt b/release-log.txt index 47a6e46..2b1da19 100644 --- a/release-log.txt +++ b/release-log.txt @@ -31,6 +31,7 @@ ATLAS-409 Atlas will not import avro tables with schema read from a file (dosset ATLAS-379 Create sqoop and falcon metadata addons (venkatnrangan,bvellanki,sowmyaramesh via shwethags) 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)
