Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18418

StackServiceDirectory debug messages are logged with placeholders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 3.0.0
    • ambari-server
    • None

    Description

      Steps to reproduce:

      1. Set

      log4j.rootLogger=DEBUG,file

      in

      /etc/ambari-server/conf/log4j.properties

      2. Start Ambari server (no cluster needed)

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

      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.
      

      Relevant code changed by:

      commit f8b427494b36c92f8a36c59d1a7233b5a130f4e7
      Author: Jayush Luniya <jluniya@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)

      Attachments

        1. AMBARI-18418_20160919_v1.patch
          2 kB
          Attila Doroszlai

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: