hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2505) Add a test to verify getFileChecksum works with ViewFS
Date Wed, 09 Nov 2011 08:03:51 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146835#comment-13146835
] 

Ravi Prakash commented on HDFS-2505:
------------------------------------

Thanks Jitendra! Unit tests were added as part of HADOOP-7770 for the changes made in ViewFS.java
and ViewFileSystem.java. There weren't any changes in HDFS code. Could you please specify
what method / interface you'd like tested?
Would this test not make sense, because it might break without any changes in HDFS code (if
there are changes in the Hadoop getFileChecksum code)? If so, we can close this JIRA as invalid.
Or do we WANT that check? So that if Hadoop Common changes things, HDFS tests break and we
are notified to fix the issue in HDFS also?
                
> Add a test to verify getFileChecksum works with ViewFS
> ------------------------------------------------------
>
>                 Key: HDFS-2505
>                 URL: https://issues.apache.org/jira/browse/HDFS-2505
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>            Priority: Critical
>              Labels: test
>             Fix For: 0.24.0
>
>         Attachments: HDFS-2505.patch
>
>
> Please refer to HADOOP-7770. getFileChecksum was failing on files such as /tmp/someFile,
but working fine for /someDir/someFile.
> The fix is in HADOOP-7770 but we should have a test in HDFS which checks this functionality
(this test will fail until HADOOP-7770 is checked in)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message