ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-16849) clean up import * for YARN service
Date Wed, 01 Jun 2016 03:06:12 GMT

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

Jayush Luniya commented on AMBARI-16849:
----------------------------------------

Trunk
commit 3e45c8fe24bda4c28fb4a8d981e874ab0b9e217d
Author: Jayush Luniya <jluniya@hortonworks.com>
Date:   Tue May 31 20:05:11 2016 -0700

    AMBARI-16849: clean up import * for YARN service (Juanjo Marron via jluniya)

> clean up import * for YARN service
> ----------------------------------
>
>                 Key: AMBARI-16849
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16849
>             Project: Ambari
>          Issue Type: Technical task
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.1.0, 2.4.0, 2.2.2
>            Reporter: Juanjo Marron
>            Assignee: Juanjo Marron
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-16849.patch
>
>
> Python code at at common-services level used generic imports form resource_management
(from resource_management import *)
> Ideally, for easier code tracking and performance, these import should be more specific,
such as: 
> from resource_management.libraries.script.script import Script
> from resource_management.core.resources.system import Directory
> This subtask cleans up import * from resource_management and replace it for specific
imports for YARN service



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

Mime
View raw message