You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by aj...@apache.org on 2015/11/06 19:37:15 UTC

falcon git commit: FALCON-1593 Oozie setup failing in setup phase. Contributed by Praveen Adlakha.

Repository: falcon
Updated Branches:
  refs/heads/master d78dffd4f -> 2876b0b9f


FALCON-1593 Oozie setup failing in setup phase. Contributed by Praveen Adlakha.


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/2876b0b9
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/2876b0b9
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/2876b0b9

Branch: refs/heads/master
Commit: 2876b0b9f749a658c9452fd07294fece4b3daa3b
Parents: d78dffd
Author: Ajay Yadav <aj...@inmobi.com>
Authored: Sat Nov 7 00:01:59 2015 +0530
Committer: Ajay Yadav <aj...@inmobi.com>
Committed: Sat Nov 7 00:03:40 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                        | 2 ++
 build-tools/src/bin/build-oozie.sh | 5 +++++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/2876b0b9/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index ebb22cd..e0c8107 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -14,6 +14,8 @@ Trunk (Unreleased)
     FALCON-1213 Base framework of the native scheduler(Pallavi Rao)
 
   IMPROVEMENTS
+    FALCON-1593 Oozie setup failing in setup phase (Praveen Adlakha via Ajay Yadava)
+
     FALCON-1582 Documentation for globally disabling retries (Pallavi Rao)
 
     FALCON-1517 Instance Management Api in Falcon Unit (Narayan Periwal via Pallavi Rao)

http://git-wip-us.apache.org/repos/asf/falcon/blob/2876b0b9/build-tools/src/bin/build-oozie.sh
----------------------------------------------------------------------
diff --git a/build-tools/src/bin/build-oozie.sh b/build-tools/src/bin/build-oozie.sh
index 381826b..889d749 100755
--- a/build-tools/src/bin/build-oozie.sh
+++ b/build-tools/src/bin/build-oozie.sh
@@ -28,6 +28,11 @@ echo "oozie version $OOZIE_VERSION"
 if [ -z "${MAVEN_HOME}" ]
 then
     export MVN_CMD=`which mvn`;
+    if [ -z "${MVN_CMD}" ]
+    then
+        echo "Maven is not installed.Please install and set MAVEN_HOME"
+        exit 1;
+    fi
 else
     export MVN_CMD=${MAVEN_HOME}/bin/mvn;
 fi