[
https://issues.apache.org/jira/browse/HBASE-13588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525257#comment-14525257
]
Ted Yu commented on HBASE-13588:
--------------------------------
{code}
284 // Verify that the written size matches
285 FileStatus outputStat = outputFs.getFileStatus(outputPath);
286 if (!sameFile(inputStat, outputStat)) {
{code}
Method call doesn't seem to match comment.
> ExportSnapshot should checksum data transferred
> -----------------------------------------------
>
> Key: HBASE-13588
> URL: https://issues.apache.org/jira/browse/HBASE-13588
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0, 1.0.1, 0.98.13
> Reporter: Mubeen Afzal
> Assignee: Mubeen Afzal
> Attachments: HBASE-13588.patch
>
>
> We sent quite a bit of data using ExportSnapshot and noticed some corruption.
> We use checksums to verify if we have transferred a particular file but
> never do any verification after the file has been transferred. I propose
> that we do a checksum upon completing file transfer and if the checksums do
> not match up, I propose we fail by throwing an IOException.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)