-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33973/
-----------------------------------------------------------
(Updated May 8, 2015, 7:09 a.m.)
Review request for Ambari, Emil Anca, John Speidel, Robert Nettleton, and Tom
Beerbower.
Bugs: AMBARI-11017
https://issues.apache.org/jira/browse/AMBARI-11017
Repository: ambari
Description (updated)
-------
1. Deploy cluster
2. Enable security
3. Run Kerberos service check
In background operations Kerberos service check is named as "Create principals"
#Solution#
Force the request context to be the one indicated in the request by explicity
setting it rather than relying on the value from the first stage in the
response.
While at it, fixed an error message to help show more information if an error
occurs while creating principals in an MIT KDC - ran into an error condtion
while testing where this additional information would have been useful.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
7b77bfa
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java
cd74c22
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
ebe0763
Diff: https://reviews.apache.org/r/33973/diff/
Testing
-------
Manually tested in cluster.
Updated
`org/apache/ambari/server/controller/AmbariManagementControllerTest.java`.
#Jenkins test result: PENDING#
Thanks,
Robert Levas