ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas" <rle...@hortonworks.com>
Subject Review Request 29321: Update Service Configurations Kerberos task fails when there is no work to do
Date Mon, 22 Dec 2014 19:17:48 GMT

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

Review request for Ambari, John Speidel and Robert Nettleton.


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


Repository: ambari


Description
-------

The _Update Service Configurations_ Kerberos task (implemented by `org.apache.ambari.server.serveraction.kerberos.UpdateKerberosConfigsServerAction`)
fails when there is no work to do.  This task should exit nicely if the data file indicating
the workload are not available since this tends to indicate that there is no work to do.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/UpdateKerberosConfigsServerAction.java
a9dbbbd 
  ambari-server/src/test/java/org/apache/ambari/server/agent/HeartBeatHandlerInjectKeytabTest.java
e6f48a1 
  ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/UpdateKerberosConfigsServerActionTest.java
888a919 

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


Testing
-------

Manually ran scenarios on test cluster

Added unit tests in `org.apache.ambari.server.serveraction.kerberos.UpdateKerberosConfigsServerActionTest`
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.533 sec

Full Ambari server test suite
Tests run: 2449, Failures: 0, Errors: 0, Skipped: 13


Thanks,

Robert Levas


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message