You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2017/04/05 01:01:41 UTC

[jira] [Commented] (HADOOP-13626) Remove distcp dependency on FileStatus serialization

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

Yongjun Zhang commented on HADOOP-13626:
----------------------------------------

Hi [~chris.douglas],

Thanks for your work here. I found that if we backport this to branch-2, it would make backport of HADOOP-11794 easier.  Wonder if there is any concern backporting this to branch-2? I can do it if there is not.

Thanks.



> Remove distcp dependency on FileStatus serialization
> ----------------------------------------------------
>
>                 Key: HADOOP-13626
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13626
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools/distcp
>            Reporter: Chris Douglas
>            Assignee: Chris Douglas
>             Fix For: 3.0.0-alpha2
>
>         Attachments: HADOOP-13626.001.patch, HADOOP-13626.002.patch, HADOOP-13626.003.patch, HADOOP-13626.004.patch
>
>
> DistCp uses an internal struct {{CopyListingFileStatus}} to record metadata. Because this record extends {{FileStatus}}, it also relies on the {{Writable}} contract from that type. Because DistCp performs its checks on a subset of the fields (i.e., does not actually rely on {{FileStatus}} as a supertype), these types should be independent.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org