You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jitendra Nath Pandey (Commented) (JIRA)" <ji...@apache.org> on 2012/02/02 08:49:54 UTC

[jira] [Commented] (HDFS-2505) Add a test to verify getFileChecksum works with ViewFS

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

Jitendra Nath Pandey commented on HDFS-2505:
--------------------------------------------

 ViewFS also has getFileChecksum method similar to ViewFileSystem. Since this patch adds a test for ViewFileSystem, probably a similar test in ViewFS also makes sense. By Hdfs, I actually meant Hdfs.java which is an AbstractFileSystem implementation unlike DistributedFileSystem (which is FileSystem). If you use ViewFS for hdfs, it will use Hdfs underneath, therefore you shouldn't have to do anything explicit for Hdfs.
                
> 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