hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Trezzo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6004) Refactor TestResourceLocalizationService#testDownloadingResourcesOnContainer so that it is less than 150 lines
Date Wed, 05 Apr 2017 18:23:41 GMT

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

Chris Trezzo commented on YARN-6004:
------------------------------------

Thanks [~mingma]!

> Refactor TestResourceLocalizationService#testDownloadingResourcesOnContainer so that
it is less than 150 lines
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6004
>                 URL: https://issues.apache.org/jira/browse/YARN-6004
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>            Reporter: Chris Trezzo
>            Assignee: Chris Trezzo
>            Priority: Trivial
>              Labels: newbie
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: YARN-6004-branch-2.001.patch, YARN-6004-trunk.001.patch, YARN-6004-trunk.002.patch
>
>
> The TestResourceLocalizationService#testDownloadingResourcesOnContainerKill method is
over 150 lines:
> bq. ./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestResourceLocalizationService.java:1128:
@Test(timeout = 20000):3: Method length is 242 lines (max allowed is 150).
> This method needs to be refactored and broken up into smaller methods.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message