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

Doug Cutting commented on HADOOP-4185:
--------------------------------------

> Does it make more sense if we make "verifyChecksum" as a a parameter to open 
> [ ...]

It does make sense to be able to set this on a file-by-file basis, but I'm 
hesitant to add parameters, since the number of parameters could become 
unmanageable.  Ideally open and create might take an 'options' parameter to 
pass things like blockSize, verifyData, bufferSize, replication, etc.  What do 
you think of changing (in a separate issue) open and create to an options-style 
API?

> 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, 4185_v2.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