----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32397/#review77462 -----------------------------------------------------------
Ship it! Ship It! - Tom Beerbower On March 23, 2015, 2:24 p.m., Robert Levas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/32397/ > ----------------------------------------------------------- > > (Updated March 23, 2015, 2:24 p.m.) > > > Review request for Ambari, Andrew Onischuk, Jonathan Hurley, Nate Cole, and > Tom Beerbower. > > > Bugs: AMBARI-10053 > https://issues.apache.org/jira/browse/AMBARI-10053 > > > Repository: ambari > > > Description > ------- > > The path(s) to the Kerberos utilities (kadmin, klist, etc...) should be > configurable so that the utilities can be found if using custom Kerberos > packages. > > This should work for both the Ambari server and agent-side functions. > > **Solution** > Added `kerberos-env/executable_search_paths` to specifiy is comma-delimited > lists of search paths to use to find the k* tools (kinit, kadmin, etc...) . > This value use used in the Ambari server as well as the agents. > The default value is `/usr/bin, /usr/kerberos/bin, /usr/sbin, > /usr/lib/mit/bin, /usr/lib/mit/sbin`, which should work for most standard > installations on supported OSes. > > > Diffs > ----- > > > ambari-common/src/main/python/resource_management/libraries/functions/__init__.py > e55a2cf > > ambari-common/src/main/python/resource_management/libraries/functions/find_executable.py > PRE-CREATION > > ambari-common/src/main/python/resource_management/libraries/functions/find_path.py > 52a5044 > > ambari-common/src/main/python/resource_management/libraries/functions/get_kdestroy_path.py > 085ba6a > > ambari-common/src/main/python/resource_management/libraries/functions/get_kinit_path.py > 7904a0f > > ambari-common/src/main/python/resource_management/libraries/functions/get_klist_path.py > cd8ca10 > > ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosOperationHandler.java > d5384d2 > > ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java > 69b0292 > > ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/configuration/kerberos-env.xml > 31833cb > > ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/KerberosOperationHandlerTest.java > 18d3bee > > ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandlerTest.java > 0898282 > > Diff: https://reviews.apache.org/r/32397/diff/ > > > Testing > ------- > > Manual testing. > > **Jenkins test results: PENDING** > > > Thanks, > > Robert Levas > >
