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

Hosts Page Performance: Avoid triggering hosts loading immediately after switching to hosts tab

    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

      When the page of hosts has already been loaded to FE model store, we should avoid trigger hosts loading when user switch in/out hosts tab. Just reuse the front-end model to render the page and schedule an update request after a few seconds.

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3264 (See https://builds.apache.org/job/Ambari-trunk-Commit/3264/)
          AMBARI-12656. Hosts Page Performance: Avoid triggering hosts loading immediately after switching to hosts tab (rzang) (rzang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=721acd8eee7584a1cbb51b502771a54055d491df)

          • ambari-web/app/views/main/menu.js
          • ambari-web/app/views/main/host.js
          • ambari-web/app/routes/main.js
          • ambari-web/app/controllers/main/host.js
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3264 (See https://builds.apache.org/job/Ambari-trunk-Commit/3264/ ) AMBARI-12656 . Hosts Page Performance: Avoid triggering hosts loading immediately after switching to hosts tab (rzang) (rzang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=721acd8eee7584a1cbb51b502771a54055d491df ) ambari-web/app/views/main/menu.js ambari-web/app/views/main/host.js ambari-web/app/routes/main.js ambari-web/app/controllers/main/host.js
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #362 (See https://builds.apache.org/job/Ambari-branch-2.1/362/)
          AMBARI-12656. Hosts Page Performance: Avoid triggering hosts loading immediately after switching to hosts tab (rzang) (rzang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=49668c0ade4599641387ed1facb999039a136f43)

          • ambari-web/app/views/main/host.js
          • ambari-web/app/views/main/menu.js
          • ambari-web/app/routes/main.js
          • ambari-web/app/controllers/main/host.js
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #362 (See https://builds.apache.org/job/Ambari-branch-2.1/362/ ) AMBARI-12656 . Hosts Page Performance: Avoid triggering hosts loading immediately after switching to hosts tab (rzang) (rzang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=49668c0ade4599641387ed1facb999039a136f43 ) ambari-web/app/views/main/host.js ambari-web/app/views/main/menu.js ambari-web/app/routes/main.js ambari-web/app/controllers/main/host.js
          Hide
          rzang Richard Zang added a comment -

          commited to trunk and 2.1

          Show
          rzang Richard Zang added a comment - commited to trunk and 2.1
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12748966/AMBARI-12656.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in .

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3538//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3538//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12748966/AMBARI-12656.patch against trunk revision . +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in . Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3538//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3538//console This message is automatically generated.

            People

            • Assignee:
              rzang Richard Zang
              Reporter:
              rzang Richard Zang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development