hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Schmidt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6825) FileStatus needs unit tests
Date Thu, 24 Jun 2010 00:26:51 GMT

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

Rodrigo Schmidt commented on HADOOP-6825:
-----------------------------------------

It also tests that an empty or partially completed FileStatus can be overwritten (problem
with MAPREDUCE-1858). Simple and effective.

I think we should have at least some test for FileStatus inside hadoop-common.

At the moment, a complicated patch could obfuscate changes to FileStatus and break MAPREDUCE
or HDFS.



> FileStatus needs unit tests
> ---------------------------
>
>                 Key: HADOOP-6825
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6825
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 0.22.0
>            Reporter: Rodrigo Schmidt
>            Assignee: Rodrigo Schmidt
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6825.0.patch
>
>
> We need some unit tests for FileStatus to prevent problems like those we recently had
on HADOOP-6796 and MAPREDUCE-1858.

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