hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6355) Make FileSystemContractBaseTest, LocalFileSystem, and FileSystem javadoc compliant
Date Mon, 02 Nov 2009 22:30:59 GMT

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

Jakob Homan commented on HADOOP-6355:

Is this a duplicate of HDFS-303, which details and encompasses the differences between file
system implementations?

> Make FileSystemContractBaseTest, LocalFileSystem, and FileSystem javadoc compliant 
> -----------------------------------------------------------------------------------
>                 Key: HADOOP-6355
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6355
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Gregory Farnum
>            Priority: Minor
> These do not all seem to play nicely together. ie, plugging the LocalFileSystem into
FileSystemContractBaseTest (via a subclass that just overrides setUp to set fs=LocalFileSystem)
results in 5 failures and 19 errors out of 28 tests.
> Additionally, the unit tests expect a few undocumented behaviors (ie, it expects to get
an IOException on mkdirs(subdir/of/a/file) rather than just returning false) and some contradictory
behaviors (it expects that delete(directory, false) should succeed on an empty directory)
compared to FileSystem's javadoc.
> I suspect that most of the fixes should come from changing the unit tests to be more
sensible rather than modifying [Local]FileSystem, but however it's done these should all agree
on expected behavior!

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

View raw message