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

Reply via email to