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

Desired state of client component should not be changed in case configuration changes are applied through a "Restart"

    XMLWordPrintableJSON

Details

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

    Description

      Configuration changes are propagated to host components by issuing a restart of the affected components.

      In case of master components this action will start the affected components (regardless it is in INSTALLED or STARTED state) and the desired state will be set to STARTED.

      In Ambari client components are always expected to be in INSTALLED state. However upon configuration changes, the desired state of these components are also set to STARTED. This may be misleading for ambari API users that determine component states by checking the desired state and actual state. (The actual state in case of client components will always be INSTALLED)

      This issue addresses this problem by not updating the desired state when client components are restarted.

      Attachments

        1. AMBARI-18302.trunk.patch
          2 kB
          Laszlo Puskas

        Issue Links

          Activity

            People

              lpuskas Laszlo Puskas
              lpuskas Laszlo Puskas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified