hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent Goujon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10295) Allow distcp to automatically identify the checksum type of source files and use it for the target
Date Tue, 28 Jan 2014 14:49:41 GMT

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

Laurent Goujon commented on HADOOP-10295:
-----------------------------------------

For point 3, I was using {{getFileDefault()}} because it was the previous behavior, and in
{{CopyMapper.map(...)}, once copy succeed, a call is made to {{DistCpUtils.preserve(...)}}
which sets the owner, group, replication and permissions. Should it be refactored?

> Allow distcp to automatically identify the checksum type of source files and use it for
the target
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10295
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10295
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HADOOP-10295.000.patch, hadoop-10295.patch
>
>
> Currently while doing distcp, users can use "-Ddfs.checksum.type" to specify the checksum
type in the target FS. This works fine if all the source files are using the same checksum
type. If files in the source cluster have mixed types of checksum, users have to either use
"-skipcrccheck" or have checksum mismatching exception. Thus we may need to consider adding
a new option to distcp so that it can automatically identify the original checksum type of
each source file and use the same checksum type in the target FS. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message