[
https://issues.apache.org/jira/browse/HADOOP-4185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646750#action_12646750
]
Hairong Kuang commented on HADOOP-4185:
---------------------------------------
Hadoop only supports two kinds of file systems that support checksum:
1. HDFS. We already have a way to bypass checksum verification in place.
2. ChecksumFileSystem: it wraps around a raw file system which has no idea of
checksum. To bypass checksum verification, we could get a handle of the raw FS
by calling ChecksumFileSystem.getRawFileSystem() and reading a file using the
raw file system handle.
So we could add the following line to FsShell.getSrcFileSystem:
{code}
if (!verifyChecksum && srcFs instanceof ChecksumFileSystem) {
srcFs = ((ChecksumFileSystem)srcFs).getRawFileSystem();
}
{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.