You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2013/08/22 22:51:51 UTC
[jira] [Commented] (AMBARI-2995) zooKeeper quorum check fails in
secure cluster
[ https://issues.apache.org/jira/browse/AMBARI-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747882#comment-13747882 ]
Siddharth Wagle commented on AMBARI-2995:
-----------------------------------------
[~jaimin]
We should fix this in params.pp with a if .. else statement.
OR
This should work too:
Workaround:
{code}
--- a/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/quorum/service_check.pp
+++ b/ambari-agent/src/main/puppet/modules/hdp-zookeeper/manifests/quorum/service_check.pp
@@ -43,6 +43,7 @@ define hdp-zookeeper::quorum_smoke_shell_file()
$smoke_script = $hdp::params::zk_smoke_test_script
$smoke_user_keytab = $hdp::params::smokeuser_keytab
$kinit_path = $hdp::params::kinit_path_local
+ $security_enabled = $hdp::params::security_enabled
file { '/tmp/zkSmoke.sh':
ensure => present,
@@ -51,7 +52,7 @@ define hdp-zookeeper::quorum_smoke_shell_file()
}
exec { '/tmp/zkSmoke.sh':
- command => "sh /tmp/zkSmoke.sh ${smoke_script} ${smoke_test_user} ${conf_dir} ${::clientPort} ${::security_enabled} ${kinit_path} ${smoke_user_keytab}",
+ command => "sh /tmp/zkSmoke.sh ${smoke_script} ${smoke_test_user} ${conf_dir} ${::clientPort} ${security_enabled} ${kinit_path} ${smoke_user_keytab}",
{code}
> zooKeeper quorum check fails in secure cluster
> ----------------------------------------------
>
> Key: AMBARI-2995
> URL: https://issues.apache.org/jira/browse/AMBARI-2995
> Project: Ambari
> Issue Type: Bug
> Components: agent
> Affects Versions: 1.4.1
> Reporter: Jaimin D Jetly
> Assignee: Jaimin D Jetly
> Fix For: 1.4.1
>
> Attachments: AMBARI-2995.patch
>
>
> The quorum check fails because agent is not able to detect security status of the cluster while running zookeeper quorum check shell script.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira