You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/05/27 04:04:12 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15303441#comment-15303441 ] 

Hadoop QA commented on AMBARI-16848:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12806417/AMBARI-16848.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/7000//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/7000//console

This message is automatically generated.

> 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)