You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Emil Anca <ea...@hortonworks.com> on 2015/05/28 14:13:15 UTC

Review Request 34763: Kerberos Descriptor removal failure during cleanup should not be critical

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

Review request for Ambari, Eugene Chekanskiy, Robert Levas, and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

When securing the cluster via API, there's no Kerberos Descriptor being persisted in the database. This causes de-Kerberization to fail. To fix this, failure to find the descriptor during cleanup should not be critical.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/CleanupServerAction.java 64ebe0f 

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


Testing
-------

-------------------------------------------------------
Running org.apache.ambari.server.controller.KerberosHelperTest
Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.591 sec

* Kerberized Cluster via API
* Manually remove artifact from ambari db
* Restart server to clear any db chaching
* Unkerberize Cluster while monitoring the error handling code getting executed


Thanks,

Emil Anca


Re: Review Request 34763: Kerberos Descriptor removal failure during cleanup should not be critical

Posted by Robert Levas <rl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34763/#review85549
-----------------------------------------------------------

Ship it!


Ship It!

- Robert Levas


On May 28, 2015, 8:13 a.m., Emil Anca wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34763/
> -----------------------------------------------------------
> 
> (Updated May 28, 2015, 8:13 a.m.)
> 
> 
> Review request for Ambari, Eugene Chekanskiy, Robert Levas, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-11481
>     https://issues.apache.org/jira/browse/AMBARI-11481
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> When securing the cluster via API, there's no Kerberos Descriptor being persisted in the database. This causes de-Kerberization to fail. To fix this, failure to find the descriptor during cleanup should not be critical.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/CleanupServerAction.java 64ebe0f 
> 
> Diff: https://reviews.apache.org/r/34763/diff/
> 
> 
> Testing
> -------
> 
> -------------------------------------------------------
> Running org.apache.ambari.server.controller.KerberosHelperTest
> Tests run: 42, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.591 sec
> 
> * Kerberized Cluster via API
> * Manually remove artifact from ambari db
> * Restart server to clear any db chaching
> * Unkerberize Cluster while monitoring the error handling code getting executed
> 
> 
> Thanks,
> 
> Emil Anca
> 
>