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

Switching config versions results in 'Restart Required' message showing up with delay

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2
    • Component/s: ambari-web
    • Labels:
      None

      Description

      In ZK service I had 5 different config versions and the service was all in-sync. Then I made an older version current. After like 5s the 'Restart Required' message showed up. This problem becomes worse on larger clusters - it took 20s on a 20 node cluster etc.
      We need to see if UI is updating the status with such delay, or if there is a specific API that is slow to provide the updated status. If it is an API issue, please specify the exact API and turn it into a BE issue.

      1. AMBARI-13025.patch
        3 kB
        Andrii Tkach
      2. network-log-screenshot.png
        288 kB
        Andrii Tkach
      3. Screen Shot 2015-08-12 at 1.30.44 PM.png
        220 kB
        Andrii Tkach
      4. timeline.png
        273 kB
        Andrii Tkach

        Activity

        Hide
        atkach Andrii Tkach added a comment -

        6715 tests complete (12 seconds)
        94 tests pending

        Show
        atkach Andrii Tkach added a comment - 6715 tests complete (12 seconds) 94 tests pending
        Hide
        akovalenko Aleksandr Kovalenko added a comment -

        +1 for the patch

        Show
        akovalenko Aleksandr Kovalenko added a comment - +1 for the patch
        Hide
        atkach Andrii Tkach added a comment -

        committed to trunk and branch-2.1.0

        Show
        atkach Andrii Tkach added a comment - committed to trunk and branch-2.1.0
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Ambari-trunk-Commit #3396 (See https://builds.apache.org/job/Ambari-trunk-Commit/3396/)
        AMBARI-13025 Switching config versions results in 'Restart Required' message showing up with delay. (atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=45c172f3b5ff0a77a4f7d8739a09be4640c5b367)

        • ambari-web/test/views/common/configs/config_history_flow_test.js
        • ambari-web/app/controllers/global/cluster_controller.js
        • ambari-web/app/views/common/configs/config_history_flow.js
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #3396 (See https://builds.apache.org/job/Ambari-trunk-Commit/3396/ ) AMBARI-13025 Switching config versions results in 'Restart Required' message showing up with delay. (atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=45c172f3b5ff0a77a4f7d8739a09be4640c5b367 ) ambari-web/test/views/common/configs/config_history_flow_test.js ambari-web/app/controllers/global/cluster_controller.js ambari-web/app/views/common/configs/config_history_flow.js
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Ambari-branch-2.1 #488 (See https://builds.apache.org/job/Ambari-branch-2.1/488/)
        AMBARI-13025 Switching config versions results in 'Restart Required' message showing up with delay. (atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6176199288601ed0fff465273ce016d9a3a22f4f)

        • ambari-web/test/views/common/configs/config_history_flow_test.js
        • ambari-web/app/views/common/configs/config_history_flow.js
        • ambari-web/app/controllers/global/cluster_controller.js
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Ambari-branch-2.1 #488 (See https://builds.apache.org/job/Ambari-branch-2.1/488/ ) AMBARI-13025 Switching config versions results in 'Restart Required' message showing up with delay. (atkach) (atkach: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6176199288601ed0fff465273ce016d9a3a22f4f ) ambari-web/test/views/common/configs/config_history_flow_test.js ambari-web/app/views/common/configs/config_history_flow.js ambari-web/app/controllers/global/cluster_controller.js

          People

          • Assignee:
            atkach Andrii Tkach
            Reporter:
            atkach Andrii Tkach
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development