You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/08/27 23:30:58 UTC

[jira] [Commented] (AMBARI-7043) BE: Move stack_advisor.py abstract class one folder up

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

Hudson commented on AMBARI-7043:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #48 (See [https://builds.apache.org/job/Ambari-trunk-Commit/48/])
AMBARI-7043. BE: Move stack_advisor.py abstract class one folder up (sgunturi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=40e3f0fc5d34b4d96a95e0e568e8754b042dc6f5)
* ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py
* ambari-server/src/test/python/TestStackAdvisor.py
* ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/main/resources/stacks/HDP/stack_advisor.py
* ambari-server/src/test/resources/stacks/XYZ/1.0.1/services/stack_advisor.py
* ambari-server/src/test/resources/stacks/XYZ/1.0.0/services/stack_advisor.py
* ambari-server/src/main/resources/stacks/stack_advisor.py
* ambari-server/src/main/resources/scripts/stack_advisor.py


> BE: Move stack_advisor.py abstract class one folder up
> ------------------------------------------------------
>
>                 Key: AMBARI-7043
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7043
>             Project: Ambari
>          Issue Type: Task
>          Components: controller
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7043.patch
>
>
> Currently the {{StackAdvisor}} abstract class is located at {{/ambari-server/src/main/resources/stacks/HDP/stack_advisor.py}}, implying that this is available only to HDP stack. 
> However this mechanism could be available to new stacks also, like {{/ambari-server/src/main/resources/stacks/ABC/1.0/services/stack_advisor.py}} etc... 
> Hence, we should move the file containing the abstract class one folder up, to {{/ambari-server/src/main/resources/stacks/stack_advisor.py}}, and provide testcases which verify that new stacks also can benefit from this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)