Repository: ambari Updated Branches: refs/heads/trunk d174383a5 -> cac52fd91
AMBARI-9940. Oozie Service check fails on cluster with Oozie HA + Security Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/cac52fd9 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cac52fd9 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cac52fd9 Branch: refs/heads/trunk Commit: cac52fd91fa73ba8e4c138dd5360f3e91009b90c Parents: d174383 Author: Sumit Mohanty <[email protected]> Authored: Wed Mar 4 19:56:16 2015 -0800 Committer: Sumit Mohanty <[email protected]> Committed: Wed Mar 4 19:57:54 2015 -0800 ---------------------------------------------------------------------- .../common-services/OOZIE/4.0.0.2.0/package/files/oozieSmoke2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/cac52fd9/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/oozieSmoke2.sh ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/oozieSmoke2.sh b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/oozieSmoke2.sh index 76731d6..84f913c 100644 --- a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/oozieSmoke2.sh +++ b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/files/oozieSmoke2.sh @@ -29,7 +29,7 @@ export smoke_test_user=$6 export security_enabled=$7 export smoke_user_keytab=$8 export kinit_path_local=$9 -export smokeuser_principal=$10 +export smokeuser_principal=${10} function getValueFromField { xmllint $1 | grep "<name>$2</name>" -C 2 | grep '<value>' | cut -d ">" -f2 | cut -d "<" -f1
