[ 
https://issues.apache.org/jira/browse/HADOOP-13828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manoj Govindassamy updated HADOOP-13828:
----------------------------------------
    Attachment: HADOOP-13828.01.patch

Attaching v01 patch to take care of the following
* Implemented getFileChecksum(path, length) for ViewFileSystem
* Test to verify file checksum via ViewFileSystem is same as the target 
FiileSystem
* Test needs the ChRootedFileSystem also implement the similar FileSystem's 
getFileChecksum contract and it is folded in along with this change. Without 
ChRootedFileSystem change, the test will fail.

[~andrew.wang], kindly review the patch. 

> Implement getFileChecksum(path, length) for ViewFileSystem
> ----------------------------------------------------------
>
>                 Key: HADOOP-13828
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13828
>             Project: Hadoop Common
>          Issue Type: Task
>          Components: viewfs
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>         Attachments: HADOOP-13828.01.patch
>
>
> {{ViewFileSystem}} inherits the default implementation of 
> {{getFileChecksum(final Path f, final long length)}} from FileSystem which 
> returns null. ViewFileSystem must override this to resolve the target 
> filesystem and file path from configured mount points and invoke the right 
> checksum method on the target filesystem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to