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

Integrate Heatmap pages with widget and widget layout API

    Details

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

      Description

      With this patch:

      1. Heatmap pages are API (stack) driven.
      2. All the heatmaps that were previously hardcoded on UI are now retrieved from API. In addition other heatmap definitions are added in the stack.
      3. Dashboard->Heatmap page also has service specific heatmaps (same as in earlier releases of Ambari)
      4. Last visited heatmap widget on a specific heatmap section is saved in the widget layout and shown as default heatmap on navigation to that heatmap page next time. (As opposed to the current behavior where the 1st heatmap in the hardcoded list is always shown by default on the heatmap page)
      1. AMBARI-10648_2.patch
        166 kB
        Jaimin Jetly
      2. AMBARI-10648.patch
        164 kB
        Jaimin Jetly

        Issue Links

          Activity

          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/12727172/AMBARI-10648.patch
          against trunk revision .

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

          +1 tests included. The patch appears to include 3 new or modified test files.

          +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 test build failed in ambari-server

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2450//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2450//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/12727172/AMBARI-10648.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 3 new or modified test files. +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 test build failed in ambari-server Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2450//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2450//console This message is automatically generated.
          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/12727318/AMBARI-10648_2.patch
          against trunk revision .

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

          +1 tests included. The patch appears to include 3 new or modified test files.

          +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 test build failed in ambari-server

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2467//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2467//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/12727318/AMBARI-10648_2.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 3 new or modified test files. +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 test build failed in ambari-server Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/2467//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/2467//console This message is automatically generated.
          Hide
          jaimin Jaimin Jetly added a comment -

          Hadoop QE test patch job fails due to ambari-server build failure.

          I ran ambari-web unit test on my dev environment and verified that the patch passes all existing unit test

          ambari-web unit test result with patch:
          5852 tests complete (10 seconds)
          81 tests pending

          Show
          jaimin Jaimin Jetly added a comment - Hadoop QE test patch job fails due to ambari-server build failure. I ran ambari-web unit test on my dev environment and verified that the patch passes all existing unit test ambari-web unit test result with patch: 5852 tests complete (10 seconds) 81 tests pending
          Hide
          jaimin Jaimin Jetly added a comment -

          Received +1 on review board.
          Patch committed to trunk.

          Show
          jaimin Jaimin Jetly added a comment - Received +1 on review board. Patch committed to trunk.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #2409 (See https://builds.apache.org/job/Ambari-trunk-Commit/2409/)
          AMBARI-10648. Integrate Heatmap pages with widget and widget layout API. (jaimin) (jaimin: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9639005f6464117195632d57d4cfbcb9e12e7ed1)

          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_writerequest.js
          • ambari-web/app/mixins.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase.js
          • ambari-web/app/mixins/common/widget_mixin.js
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/widgets.json
          • ambari-web/app/templates/main/service/info/heatmap_dropdown.hbs
          • ambari-web/app/views/main/service/info/summary.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_diskspaceused.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_regions.js
          • ambari-web/app/views.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_test.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_memHeapUsed.js
          • ambari-web/app/assets/data/widget_layouts/HBASE/default_dashboard.json
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_memoryused.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_memoryused_test.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_gctime.js
          • ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/widgets.json
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_diskspaceused_test.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_ResourceUsed.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_memstoresize.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_ResourceUsed_test.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_test.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_bytesread.js
          • ambari-web/app/templates/main/charts/heatmap.hbs
          • ambari-web/app/models/widget.js
          • ambari-web/test/controllers/main/charts/heatmap_test.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_processrun_test.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_readrequest.js
          • ambari-web/app/mixins/common/widgets/widget_mixin.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_processrun.js
          • ambari-web/app/views/main/service/info/heatmap_view.js
          • ambari-web/app/views/main/charts/heatmap/heatmap_rack.js
          • ambari-web/app/messages.js
          • ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/widgets.json
          • ambari-web/app/utils/heatmap.js
          • ambari-web/app/assets/data/widget_layouts/all_heatmaps.json
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_cpuWaitIO.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_compactionqueue.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_bytesread_test.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_byteswritten.js
          • ambari-web/app/templates/common/widget/heatmap_widget.hbs
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_memHeapUsed.js
          • ambari-web/app/templates/main/charts/heatmap_dropdown.hbs
          • ambari-web/app/controllers/main/charts/heatmap.js
          • ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/widgets.json
          • ambari-web/app/assets/test/tests.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_gctime.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_cpuWaitIO_test.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_test.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs.js
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_test.js
          • ambari-web/app/routes/main.js
          • ambari-web/app/controllers/main/service/info/heatmap.js
          • ambari-web/app/views/common/widget/heatmap_widget_view.js
          • ambari-web/app/views/main/charts/heatmap/heatmap_host.js
          • ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/widgets.json
          • ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn.js
          • ambari-web/app/mixins/common/widgets/widget_section.js
          • ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_byteswritten_test.js
          • ambari-web/app/utils/ajax/ajax.js
          • ambari-web/app/controllers.js
          • ambari-web/app/views/main/charts/heatmap.js
          • ambari-web/app/controllers/main/service/info/summary.js
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #2409 (See https://builds.apache.org/job/Ambari-trunk-Commit/2409/ ) AMBARI-10648 . Integrate Heatmap pages with widget and widget layout API. (jaimin) (jaimin: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9639005f6464117195632d57d4cfbcb9e12e7ed1 ) ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_writerequest.js ambari-web/app/mixins.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase.js ambari-web/app/mixins/common/widget_mixin.js ambari-server/src/main/resources/stacks/HDP/2.0.6/widgets.json ambari-web/app/templates/main/service/info/heatmap_dropdown.hbs ambari-web/app/views/main/service/info/summary.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_diskspaceused.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_regions.js ambari-web/app/views.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_test.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_memHeapUsed.js ambari-web/app/assets/data/widget_layouts/HBASE/default_dashboard.json ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_memoryused.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_memoryused_test.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_gctime.js ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/widgets.json ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_diskspaceused_test.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_ResourceUsed.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_memstoresize.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn_ResourceUsed_test.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_test.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_bytesread.js ambari-web/app/templates/main/charts/heatmap.hbs ambari-web/app/models/widget.js ambari-web/test/controllers/main/charts/heatmap_test.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_processrun_test.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_readrequest.js ambari-web/app/mixins/common/widgets/widget_mixin.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_processrun.js ambari-web/app/views/main/service/info/heatmap_view.js ambari-web/app/views/main/charts/heatmap/heatmap_rack.js ambari-web/app/messages.js ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/widgets.json ambari-web/app/utils/heatmap.js ambari-web/app/assets/data/widget_layouts/all_heatmaps.json ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_cpuWaitIO.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_compactionqueue.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_bytesread_test.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_byteswritten.js ambari-web/app/templates/common/widget/heatmap_widget.hbs ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_memHeapUsed.js ambari-web/app/templates/main/charts/heatmap_dropdown.hbs ambari-web/app/controllers/main/charts/heatmap.js ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/widgets.json ambari-web/app/assets/test/tests.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_gctime.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_cpuWaitIO_test.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_hbase_test.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs.js ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_test.js ambari-web/app/routes/main.js ambari-web/app/controllers/main/service/info/heatmap.js ambari-web/app/views/common/widget/heatmap_widget_view.js ambari-web/app/views/main/charts/heatmap/heatmap_host.js ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/widgets.json ambari-web/app/controllers/main/charts/heatmap_metrics/heatmap_metric_yarn.js ambari-web/app/mixins/common/widgets/widget_section.js ambari-web/test/controllers/main/charts/heatmap_metrics/heatmap_metric_dfs_byteswritten_test.js ambari-web/app/utils/ajax/ajax.js ambari-web/app/controllers.js ambari-web/app/views/main/charts/heatmap.js ambari-web/app/controllers/main/service/info/summary.js

            People

            • Assignee:
              jaimin Jaimin Jetly
              Reporter:
              jaimin Jaimin Jetly
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development