ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juanjo Marron (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-16175) clean up import * : Accumulo, Ambari-metrics, Atlas, Falcon, Flume and Ganglia
Date Mon, 16 May 2016 16:37:12 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-16175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Juanjo Marron updated AMBARI-16175:
-----------------------------------
        Fix Version/s:     (was: 2.4.0)
                       3.0.0
    Affects Version/s:     (was: 2.1.1)
                       2.4.0
                       2.2.0
               Status: In Progress  (was: Patch Available)

> clean up import * : Accumulo, Ambari-metrics, Atlas, Falcon, Flume and Ganglia
> ------------------------------------------------------------------------------
>
>                 Key: AMBARI-16175
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16175
>             Project: Ambari
>          Issue Type: Sub-task
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.4.0
>            Reporter: Juanjo Marron
>            Assignee: Juanjo Marron
>            Priority: Critical
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-16175.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:
> Accumulo, Ambari-metrics, Atlas, Falcon, Flume and Ganglia services 



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

Mime
View raw message