Doroszlai, Attila created AMBARI-18418:
------------------------------------------

             Summary: StackServiceDirectory debug messages are logged with 
placeholders
                 Key: AMBARI-18418
                 URL: https://issues.apache.org/jira/browse/AMBARI-18418
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Doroszlai, Attila
            Assignee: Doroszlai, Attila
            Priority: Minor
             Fix For: 3.0.0


Steps to reproduce:

1. Set {code}log4j.rootLogger=DEBUG,file{code} in 
{noformat}/etc/ambari-server/conf/log4j.properties{noformat}
2. Start Ambari server (no cluster needed)

Result: ambari-server.log contains messages from StacksServiceDirectory with 
placeholders not replaced, eg.:

{noformat}
08 Sep 2016 08:25:58,019 DEBUG [main] StackServiceDirectory:89 - Service 
package folder for service %s for stack %s has been resolved to %s
08 Sep 2016 08:25:58,019 DEBUG [main] StackServiceDirectory:115 - Service 
upgrades folder %s for service %s for stack %s does not exist.
08 Sep 2016 08:25:58,021 DEBUG [main] StackServiceDirectory:97 - Service 
package folder %s for service %s for stack %s does not exist.
{noformat}

Relevant code changed by:

commit f8b427494b36c92f8a36c59d1a7233b5a130f4e7
Author: Jayush Luniya <jlun...@hortonworks.com>
Date:   Thu May 19 14:21:22 2016 -0700

    AMBARI-15388 - Upgrade XML should be pushed down as much as possible to the 
services (Tim Thorpe via jluniya)




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

Reply via email to