You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/10/02 15:39:07 UTC

Review Request 26268: Ambari installs wrong zookeeper_client_jaas.conf file.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26268/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-7613
    https://issues.apache.org/jira/browse/AMBARI-7613


Repository: ambari


Description
-------

PROBLEM:

Ambari 1.6.1,

/var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/package/t
emplates/zookeeper_client_jaas.conf.js2

    
    
    
    Client {
    com.sun.security.auth.module.Krb5LoginModule required
    useKeyTab=false
    useTicketCache=true;
    principal="{{zk_principal}}";
    };
    
    

The above config is wrong. The correct file should be

    
    
    
    
    Client {
    com.sun.security.auth.module.Krb5LoginModule required
    useKeyTab=false
    useTicketCache=true;
    };
    
    

Note, the principal=xxx should not be there when useTicketCache=true


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/package/templates/zookeeper_client_jaas.conf.j2 83b0819 

Diff: https://reviews.apache.org/r/26268/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 26268: Ambari installs wrong zookeeper_client_jaas.conf file.

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26268/#review55206
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Oct. 2, 2014, 1:39 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26268/
> -----------------------------------------------------------
> 
> (Updated Oct. 2, 2014, 1:39 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-7613
>     https://issues.apache.org/jira/browse/AMBARI-7613
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> PROBLEM:
> 
> Ambari 1.6.1,
> 
> /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/package/t
> emplates/zookeeper_client_jaas.conf.js2
> 
>     
>     
>     
>     Client {
>     com.sun.security.auth.module.Krb5LoginModule required
>     useKeyTab=false
>     useTicketCache=true;
>     principal="{{zk_principal}}";
>     };
>     
>     
> 
> The above config is wrong. The correct file should be
> 
>     
>     
>     
>     
>     Client {
>     com.sun.security.auth.module.Krb5LoginModule required
>     useKeyTab=false
>     useTicketCache=true;
>     };
>     
>     
> 
> Note, the principal=xxx should not be there when useTicketCache=true
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/package/templates/zookeeper_client_jaas.conf.j2 83b0819 
> 
> Diff: https://reviews.apache.org/r/26268/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>