[
https://issues.apache.org/jira/browse/HADOOP-4185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646738#action_12646738
]
Tsz Wo (Nicholas), SZE commented on HADOOP-4185:
------------------------------------------------
I agree that we should avoid casting,
However, the current codes introduce a new empty method setVerifyChecksum(...)
in FileSystem. Clients cannot tell whether calling this method is effective or
not, i.e. clients cannot tell whether the fs supports checksum. In this
design, we probably should add another method for telling whether the file
system supports setVerifyChecksum(..).
BTW, the name setVerifyChecksum may be confusing. I suggest changing it to
setVerifyData. File system may have mechanism other checksum for verifying
data.
> 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.