ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject git commit: AMBARI-5645. Ooozie Service Check fails intermittently. (Michael Harp via mahadev)
Date Wed, 14 May 2014 23:17:25 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 6ef7e33d6 -> 97ffc0226


AMBARI-5645. Ooozie Service Check fails intermittently. (Michael Harp via mahadev)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/97ffc022
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/97ffc022
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/97ffc022

Branch: refs/heads/trunk
Commit: 97ffc022638a5a0438dcbe3bb0e120f698f781f4
Parents: 6ef7e33
Author: Mahadev Konar <mahadev@apache.org>
Authored: Wed May 14 16:17:16 2014 -0700
Committer: Mahadev Konar <mahadev@apache.org>
Committed: Wed May 14 16:17:16 2014 -0700

----------------------------------------------------------------------
 .../stacks/HDP/2.0.6/services/OOZIE/package/files/oozieSmoke2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/97ffc022/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/files/oozieSmoke2.sh
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/files/oozieSmoke2.sh
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/files/oozieSmoke2.sh
index ade464e..83b99f7 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/files/oozieSmoke2.sh
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/files/oozieSmoke2.sh
@@ -43,7 +43,7 @@ function checkOozieJobStatus {
     act_status=$(IFS='';echo $cmd_output | grep ^Status | cut -d':' -f2 | sed 's| ||g')
     echo "workflow_status=$act_status"
     if [ "RUNNING" == "$act_status" ]; then
-      #increment the couner and get the status again after waiting for 15 secs
+      #increment the counter and get the status again after waiting for 15 secs
       sleep 15
       (( i++ ))
       elif [ "SUCCEEDED" == "$act_status" ]; then
@@ -102,6 +102,6 @@ cmd="${kinitcmd}source ${oozie_conf_dir}/oozie-env.sh ; /usr/bin/oozie
-Doozie.a
 echo $cmd
 job_info=`su - ${smoke_test_user} -c "$cmd" | grep "job:"`
 job_id="`echo $job_info | cut -d':' -f2`"
-checkOozieJobStatus "$job_id"
+checkOozieJobStatus "$job_id" 15
 OOZIE_EXIT_CODE="$?"
 exit $OOZIE_EXIT_CODE


Mime
View raw message