hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1369) JUnit tests should never depend on anything in conf
Date Mon, 01 Feb 2010 08:21:51 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828030#action_12828030
] 

Amareshwari Sriramadasu commented on MAPREDUCE-1369:
----------------------------------------------------

This is still a problem with contrib tests. Should we do the same thing in each contrib build.xml?

Can we re-use this code?

> JUnit tests should never depend on anything in conf
> ---------------------------------------------------
>
>                 Key: MAPREDUCE-1369
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1369
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Anatoli Fomenko
>            Assignee: Anatoli Fomenko
>            Priority: Blocker
>             Fix For: 0.21.0, 0.22.0
>
>         Attachments: MAPREDUCE-1369.patch
>
>
> The recent change to mapred-queues.xml that causes many mapreduce tests to break unless
you delete conf/mapred-queues.xml out of your build tree is bad. We need to make sure that
nothing in conf is used in the unit tests. One potential solution is to copy the templates
into build/test/conf and use that instead.

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


Mime
View raw message