incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-2995) zooKeeper quorum check fails in secure cluster
Date Thu, 22 Aug 2013 20:51:51 GMT

    [ 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

Mime
View raw message