浏览代码

AMBARI-2139. Hive Service check fails on secure cluster. (jaimin)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1483072 13f79535-47bb-0310-9956-ffa450edef68
Jaimin Jetly 12 年之前
父节点
当前提交
b0c90cdcba
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 0
      CHANGES.txt
  2. 1 1
      ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp

+ 2 - 0
CHANGES.txt

@@ -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

+ 1 - 1
ambari-agent/src/main/puppet/modules/hdp-hive/manifests/hive/service_check.pp

@@ -29,7 +29,7 @@ class hdp-hive::hive::service_check() inherits hdp-hive::params
   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"