ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19540) Possibly too frequent calls to stack advisor as user changes sliders
Date Sat, 14 Jan 2017 00:48:26 GMT

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

Hadoop QA commented on AMBARI-19540:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12847453/AMBARI-19540.v1.branch-2.5.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10054//console

This message is automatically generated.

> Possibly too frequent calls to stack advisor as user changes sliders
> --------------------------------------------------------------------
>
>                 Key: AMBARI-19540
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19540
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.5.0
>            Reporter: Vivek Ratnavel Subramanian
>            Assignee: Vivek Ratnavel Subramanian
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19540.v0.patch, AMBARI-19540.v1.branch-2.5.patch
>
>
> As you can see 3 calls are made while changing from 1024 to 2048 and similarly 3 calls
when coming back to 1024. 
> Beyond performance concern, multiple calls have a functional issue. The call includes
previous value of the changed property - see the values. I would have expected the old value
to be the value that was the original/saved value. However, it is wherever UI makes the stack
advisor calls.
> [root@smq1-1 stack-recommendations]# find . -name services.json | xargs grep -A 3 changed
> ./55/services.json:  "changed-configurations" : [ {
> ./55/services.json-    "type" : "yarn-site",
> ./55/services.json-    "name" : "yarn.scheduler.minimum-allocation-mb",
> ./55/services.json-    "old_value" : "1024"
> ./56/services.json:  "changed-configurations" : [ {
> ./56/services.json-    "type" : "yarn-site",
> ./56/services.json-    "name" : "yarn.scheduler.minimum-allocation-mb",
> ./56/services.json-    "old_value" : "1280"
> ./57/services.json:  "changed-configurations" : [ {
> ./57/services.json-    "type" : "yarn-site",
> ./57/services.json-    "name" : "yarn.scheduler.minimum-allocation-mb",
> ./57/services.json-    "old_value" : "1792"
> ./58/services.json:  "changed-configurations" : [ {
> ./58/services.json-    "type" : "yarn-site",
> ./58/services.json-    "name" : "yarn.scheduler.minimum-allocation-mb",
> ./58/services.json-    "old_value" : "2048"
> ./59/services.json:  "changed-configurations" : [ {
> ./59/services.json-    "type" : "yarn-site",
> ./59/services.json-    "name" : "yarn.scheduler.minimum-allocation-mb",
> ./59/services.json-    "old_value" : "1792"
> ./60/services.json:  "changed-configurations" : [ {
> ./60/services.json-    "type" : "yarn-site",
> ./60/services.json-    "name" : "yarn.scheduler.minimum-allocation-mb",
> ./60/services.json-    "old_value" : "1280"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message