You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2017/11/24 15:11:00 UTC

[jira] [Commented] (AMBARI-22513) Make yumrpm.py functions to use global defined commands

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

Hudson commented on AMBARI-22513:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #479 (See [https://builds.apache.org/job/Ambari-branch-2.6/479/])
AMBARI-22513 Make yumrpm.py functions to use global defined commands (hapylestat: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=54bc2a2e38a022356f1c405f755ac1b000450b3a])
* (edit) ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py
* (edit) ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
* (edit) ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py


> Make yumrpm.py functions to use global defined commands
> -------------------------------------------------------
>
>                 Key: AMBARI-22513
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22513
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Dmytro Grinenko
>            Assignee: Dmytro Grinenko
>            Priority: Blocker
>         Attachments: AMBARI-22513.patch
>
>
> At the global space of yumrmp we defining the list of command available for the module:
> {code}
> ALL_INSTALLED_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "installed", "--noplugins"]
> ALL_AVAILABLE_PACKAGES_CMD = [AMBARI_SUDO_BINARY, "yum", "list", "available", "--noplugins"]
> {code}
> but not using them at the functions: 
> - _get_installed_packages
> - _get_available_packages
> What makes them to ignore changes made in command definition constants



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)