[jira] [Updated] (AMBARI-16848) clean up import * for STORM, TEZ and ZEPPELIN services
[ https://issues.apache.org/jira/browse/AMBARI-16848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jayush Luniya updated AMBARI-16848: --- Resolution: Fixed Status: Resolved (was: Patch Available) > clean up import * for STORM, TEZ and ZEPPELIN services > -- > > Key: AMBARI-16848 > URL: https://issues.apache.org/jira/browse/AMBARI-16848 > Project: Ambari > Issue Type: Technical task > Components: ambari-agent, ambari-server >Affects Versions: 2.1.0, 2.2.0, 2.4.0 >Reporter: Juanjo Marron >Assignee: Juanjo Marron > Fix For: 3.0.0 > > Attachments: AMBARI-16848.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: > Storm, Tez and Zeppelin services -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (AMBARI-16848) clean up import * for STORM, TEZ and ZEPPELIN services
[ https://issues.apache.org/jira/browse/AMBARI-16848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juanjo Marron updated AMBARI-16848: --- Attachment: AMBARI-16848.patch > clean up import * for STORM, TEZ and ZEPPELIN services > -- > > Key: AMBARI-16848 > URL: https://issues.apache.org/jira/browse/AMBARI-16848 > Project: Ambari > Issue Type: Technical task > Components: ambari-agent, ambari-server >Affects Versions: 2.1.0, 2.2.0, 2.4.0 >Reporter: Juanjo Marron >Assignee: Juanjo Marron > Fix For: 3.0.0 > > Attachments: AMBARI-16848.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: > Storm, Tez and Zeppelin services -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (AMBARI-16848) clean up import * for STORM, TEZ and ZEPPELIN services
[ https://issues.apache.org/jira/browse/AMBARI-16848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juanjo Marron updated AMBARI-16848: --- Summary: clean up import * for STORM, TEZ and ZEPPELIN services (was: clean up import * for SQOOP, STORM, TEZ and ZEPPELIN services) > clean up import * for STORM, TEZ and ZEPPELIN services > -- > > Key: AMBARI-16848 > URL: https://issues.apache.org/jira/browse/AMBARI-16848 > Project: Ambari > Issue Type: Technical task > Components: ambari-agent, ambari-server >Affects Versions: 2.1.0, 2.2.0, 2.4.0 >Reporter: Juanjo Marron >Assignee: Juanjo Marron > Fix For: 3.0.0 > > > 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: > Sqoop, Storm, Tez and Zeppelin services -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (AMBARI-16848) clean up import * for STORM, TEZ and ZEPPELIN services
[ https://issues.apache.org/jira/browse/AMBARI-16848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juanjo Marron updated AMBARI-16848: --- Description: 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: Storm, Tez and Zeppelin services was: 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: Sqoop, Storm, Tez and Zeppelin services > clean up import * for STORM, TEZ and ZEPPELIN services > -- > > Key: AMBARI-16848 > URL: https://issues.apache.org/jira/browse/AMBARI-16848 > Project: Ambari > Issue Type: Technical task > Components: ambari-agent, ambari-server >Affects Versions: 2.1.0, 2.2.0, 2.4.0 >Reporter: Juanjo Marron >Assignee: Juanjo Marron > Fix For: 3.0.0 > > > 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: > Storm, Tez and Zeppelin services -- This message was sent by Atlassian JIRA (v6.3.4#6332)