hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4185) Add setVerifyChecksum() method to FileSystem
Date Tue, 11 Nov 2008 23:21:44 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-4185:
------------------------------------------------

Instead of adding setVerifyChecksum(...) to FileSystem, how about putting it to a new interface,
say Checksumable, so that DFS and other FS subclasses may implement it.  Then, the codes in
FsShell should be 
{code}
    if (srcFs instanceof Checksumable) {
      ((Checksumable)srcFs).setVerifyChecksum(verifyChecksum);
    }
{code}


> Add setVerifyChecksum() method to FileSystem
> --------------------------------------------
>
>                 Key: HADOOP-4185
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4185
>             Project: Hadoop Core
>          Issue Type: Sub-task
>          Components: fs
>            Reporter: Tom White
>            Assignee: Sharad Agarwal
>         Attachments: 4185_v1.patch
>
>


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