incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Kovalenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-2635) Perf: Service summary view inefficiently binds to host components
Date Fri, 12 Jul 2013 12:13:49 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706893#comment-13706893
] 

Aleksandr Kovalenko commented on AMBARI-2635:
---------------------------------------------

Applying patch causes errors on Services page and we get blank page.

Error from console:

{noformat}Uncaught Error: assertion failed: calling set on destroyed object vendor.js:1691
Ember.assert vendor.js:1691
set vendor.js:3034
Ember.Observable.Ember.Mixin.create.set vendor.js:9417
App.MainServiceInfoSummaryView.Em.View.extend.hostComponentsUpd app.js:90239
invoke vendor.js:5025
invokeOnceTimer vendor.js:5452
invoke vendor.js:5025
iter vendor.js:5072
RunLoop.flush vendor.js:5128
RunLoop.end vendor.js:5044
Ember.run.end vendor.js:5236
autorun{noformat}
                
> Perf: Service summary view inefficiently binds to host components
> -----------------------------------------------------------------
>
>                 Key: AMBARI-2635
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2635
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.2.5
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>              Labels: performance
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2635.patch
>
>
> In {{ambari-web/app/views/main/service/info/summary.js#hostComponentsUpd()}}, is called
per each hostComponent's host and master property change. On a 150 node cluster, we get like
300 calls just for this method.
> Due to this, service_mapper, which usually maps in 600ms, takes now 5.8s. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message