[
https://issues.apache.org/jira/browse/AMBARI-12557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647076#comment-14647076
]
Hudson commented on AMBARI-12557:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #3194 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/3194/])
AMBARI-12557. Completion of service metrics API call should not block login
loading bar progress. (jaimin) (jaimin:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2064878209d86ae97554515c3f714d4b9453a3bc)
* ambari-web/app/messages.js
* ambari-web/app/views/main/dashboard/widgets/namenode_cpu.js
* ambari-web/app/views/main/service/info/metrics/yarn/gc.js
* ambari-web/app/templates/main/service/services/storm.hbs
*
ambari-web/app/views/main/service/info/metrics/hbase/regionserver_rw_requests.js
* ambari-web/app/views/main/service/info/metrics/hbase/regionserver_regions.js
* ambari-web/app/views/main/service/info/metrics/yarn/allocated_container.js
* ambari-web/app/app.js
* ambari-web/app/mappers/service_mapper.js
* ambari-web/app/views/main/service/info/metrics/yarn/apps_finished_states.js
* ambari-web/app/views/main/service/info/metrics/yarn/nms.js
* ambari-web/app/views/main/host/details/host_component_views/datanode_view.js
* ambari-web/app/templates/main/service/services/hbase.hbs
* ambari-web/app/models/host_component.js
* ambari-web/app/views.js
* ambari-web/app/controllers/global/cluster_controller.js
* ambari-web/app/mixins/main/host/details/host_components/decommissionable.js
* ambari-web/app/views/main/service/info/metrics/hbase/cluster_requests.js
* ambari-web/app/templates/main/dashboard/widgets/uptime.hbs
* ambari-web/app/routes/reassign_master_routes.js
* ambari-web/app/views/main/host/summary.js
* ambari-web/app/styles/application.less
* ambari-web/app/views/main/service/info/metrics/yarn/rpc.js
* ambari-web/app/templates/main/dashboard/widgets/hbase_links.hbs
* ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_size.js
* ambari-web/app/views/main/service/info/metrics/hdfs/jvm_heap.js
* ambari-web/app/views/main/service/info/metrics/yarn/jvm_threads.js
* ambari-web/app/views/main/service/info/metrics/yarn/allocated.js
* ambari-web/app/templates/main/dashboard/widgets/yarn_links.hbs
* ambari-web/app/data/service_graph_config.js
* ambari-web/app/views/main/service/info/metrics/yarn/jvm_heap.js
* ambari-web/app/controllers/main/service/item.js
* ambari-web/app/views/main/service/info/metrics/hdfs/file_operations.js
* ambari-web/app/routes/add_service_routes.js
* ambari-web/app/views/main/service/info/summary.js
* ambari-web/app/routes/main.js
* ambari-web/app/mappers/service_metrics_mapper.js
* ambari-web/app/views/main/service/info/metrics/hbase/regionserver_queuesize.js
* ambari-web/app/mixins/common/component_actions.js
* ambari-web/test/controllers/main/host/details_test.js
* ambari-web/app/views/main/dashboard/widget.js
* ambari-web/app/views/main/service/info/metrics/hdfs/io.js
* ambari-web/app/views/main/service/info/metrics/yarn/qmr.js
* ambari-web/app/views/main/service/info/metrics/hdfs/space_utilization.js
* ambari-web/app/views/main/service/info/metrics/hdfs/gc.js
* ambari-web/app/templates/main/dashboard/widgets/simple_text.hbs
* ambari-web/app/views/main/service/info/metrics/yarn/apps_current_states.js
* ambari-web/app/controllers/main/admin/kerberos.js
* ambari-web/app/views/main/service/info/metrics/hdfs/rpc.js
* ambari-web/app/mappers/components_state_mapper.js
* ambari-web/app/templates/main/dashboard/widgets/pie_chart.hbs
* ambari-web/app/views/main/service/info/metrics/hbase/hlog_split_time.js
* ambari-web/app/templates/main/service/info/summary.hbs
* ambari-web/app/templates/main/service/services/hdfs.hbs
* ambari-web/app/views/main/service/info/metrics/hdfs/block_status.js
* ambari-web/app/views/main/service/services/hdfs.js
* ambari-web/app/controllers/main/host/details.js
* ambari-web/app/mixins/common/widgets/widget_mixin.js
* ambari-web/app/views/main/dashboard/widgets/links_widget.js
* ambari-web/app/views/main/service/info/metrics/hdfs/jvm_threads.js
* ambari-web/test/views/main/service/info/summary_test.js
* ambari-web/app/templates/main/service/services/yarn.hbs
> Completion of service metrics API call should not block login loading bar
> progress.
> -----------------------------------------------------------------------------------
>
> Key: AMBARI-12557
> URL: https://issues.apache.org/jira/browse/AMBARI-12557
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.1.1
> Reporter: Jaimin D Jetly
> Assignee: Jaimin D Jetly
> Priority: Critical
> Fix For: 2.1.1
>
> Attachments: AMBARI-12557.patch, AMBARI-12557.trunk.patch
>
>
> After the patch, there will be 3 API calls that will be made as part of the
> loading progress bar:
> #
> http://c6407.ambari.apache.org:8080/api/v1/stacks/HDP/versions/2.3/services?fields=StackServices/*,components/*,components/dependencies/Dependencies/scope,artifacts/Artifacts/artifact_name
> #
> http://c6407.ambari.apache.org:8080/api/v1/clusters/c1/stack_versions?fields=*,repository_versions/*,repository_versions/operating_systems/repositories/*
> #
> http://c6407.ambari.apache.org:8080/api/v1/clusters/c1/services?fields=ServiceInfo/state,ServiceInfo/maintenance_state,components/ServiceComponentInfo/component_name&minimal_response=true
> After the patch login to the dashboard takes ~2.5 seconds on 800 node
> cluster. (Important: Note that web resources should be gzipped and persist
> endpoint should not have stale data. Otherwise results can greatly vary).
> Apart from perf improvement, this patch also includes following:
> 1) Removal of unused JS files (related to service dashboard)
> 2) An existing bug in 2.1.0 release where browser refresh on service->configs
> page navigates to service->summary page
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)