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

Auto-start services: Ambari agent should set auto_start_only to True when recovery_type is AUTO_START

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-agent
    • None

    Description

      In ambari agent recoveryManager.py, if recovery type is AUTO_START, recovery_enabled and auto_start_only should be set to True explicitly. However, only recovery_enabled is set to True while auto_start_only is initially set to True and then flipped to False if the recovery type is FULL. When recovery is not enabled, auto_start_only is True which is not correct though auto_start_only is not used if recovery_enabled is False. But this is just a side effect and is a potential bug.

      Attachments

        1. rb47555.patch
          1 kB
          Nahappan Somasundaram

        Issue Links

          Activity

            People

              smnaha Nahappan Somasundaram
              smnaha Nahappan Somasundaram
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: