hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3749) Factor out commonly used code in mapred testcases
Date Mon, 14 Jul 2008 19:48:31 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613428#action_12613428

Doug Cutting commented on HADOOP-3749:

I can't find the method you mention in TestRackAwareTaskPlacement, but if the code is only
common in tests then it should be factored to the test tree, no?

> Factor out commonly used code in mapred testcases
> -------------------------------------------------
>                 Key: HADOOP-3749
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3749
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Amar Kamat
>            Priority: Minor
> The commonly used code in the testcases are made _static_ like {{TestRackAwareTaskPlacement.configureJobConf()}}.
It would be nice to factor out these apis and either add it to a class like {{StringUtils}}
or into a separate dir like {{utils}}.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message