Robert Nettleton created AMBARI-15848:
-----------------------------------------

             Summary: Remove localhost assumptions in the LogSearch Integration 
Code
                 Key: AMBARI-15848
                 URL: https://issues.apache.org/jira/browse/AMBARI-15848
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Robert Nettleton
            Assignee: Robert Nettleton
             Fix For: 2.4.0


This issue tracks a small change required to the LoggingRequestHelperImpl class 
in the LogSearch integration code:

org.apache.ambari.server.controller.logging.LoggingRequestHelperImpl

The default hostname listed as a constant in this class:

private static String DEFAULT_HOSTNAME = "localhost";

should be removed.

This constant was put in place during the initial development of this code, 
when an assumption was that Ambari and LogSearch run on the same host.  This 
restriction has already been removed in a previous patch, but this constant 
should be removed to make this point clearer. 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to