Author: jaimin
Date: Wed May 15 20:33:53 2013
New Revision: 1483072
URL: http://svn.apache.org/r1483072
Log:
AMBARI-2139. Hive Service check fails on secure cluster. (jaimin)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1483072&r1=1483071&r2=1483072&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed May 15 20:33:53 2013
@@ -854,6 +854,8 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-2139. Hive Service check fails on secure cluster. (jaimin)
+
AMBARI-2138. HBase smoke test fails on secure cluster. (swagle)
AMBARI-2136. Home paths are not set correctly in /etc/sqoop/conf/sqoop-env.sh
Modified:
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp?rev=1483072&r1=1483071&r2=1483072&view=diff
==============================================================================
---
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp
(original)
+++
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp
Wed May 15 20:33:53 2013
@@ -29,7 +29,7 @@ class hdp-hive::hive::service_check() in
if ($security_enabled == true) {
$kinit_cmd = "${hdp::params::kinit_path_local} -kt ${smoke_user_keytab}
${smoke_test_user};"
$hive_principal_ext =
"principal=${hive_user}/_HOST@${hdp::params::kerberos_domain}"
- $hive_url_ext = "${hive_url}\;${hive_principal_ext}"
+ $hive_url_ext = "${hive_url}/\;${hive_principal_ext}"
$smoke_cmd = "${kinit_cmd} env JAVA_HOME=${hdp::params::java64_home}
${smoke_test_path} ${hive_url_ext} ${smoke_test_sql}"
} else {
$smoke_cmd = "env JAVA_HOME=$hdp::params::java64_home $smoke_test_path
$hive_url $smoke_test_sql"