Repository: ambari Updated Branches: refs/heads/branch-2.0.0 7c4cb3a04 -> 37525b562
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/37525b56 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/37525b56 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/37525b56 Branch: refs/heads/branch-2.0.0 Commit: 37525b562c077735c74950afe4eb24ce3872b60b Parents: 7c4cb3a Author: Sumit Mohanty <[email protected]> Authored: Wed Mar 4 19:56:16 2015 -0800 Committer: Sumit Mohanty <[email protected]> Committed: Wed Mar 4 19:56:16 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/37525b56/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
