hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Zeyliger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5948) Modify TestJavaSerialization to use LocalJobRunner instead of MiniMR/DFS cluster
Date Mon, 01 Jun 2009 21:17:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715261#action_12715261
] 

Philip Zeyliger commented on HADOOP-5948:
-----------------------------------------

+1 on making tests faster.

{quote}
   private static String TEST_ROOT_DIR =
    new File(System.getProperty("test.build.data", "/tmp")).toURI()
    .toString().replace(' ', '+');
{quote}

Definitely off-topic, but I've seen this line, in many different incantations, throughout
the code base.  Is this something that could be added to UtilsForTest.java once and for all?
 Do you know why the string replacement is necessary?

> Modify TestJavaSerialization to use LocalJobRunner instead of MiniMR/DFS cluster
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-5948
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5948
>             Project: Hadoop Core
>          Issue Type: Test
>          Components: test
>            Reporter: Jothi Padmanabhan
>            Assignee: Jothi Padmanabhan
>             Fix For: 0.21.0
>
>         Attachments: hadoop-5948.patch
>
>
> TestJavaSerialization currently uses MiniMR/DFS cluster. This test can be done with local
job runner also. This reduces the run time of the test from 61 seconds to 6 seconds.

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