hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15211) Distcp update not preserving root directory permissions
Date Wed, 07 Feb 2018 18:12:00 GMT

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

Steve Loughran commented on HADOOP-15211:
-----------------------------------------

Do mean "copies permissions over"? Because update is different from non updating distcp, in
that it doesn't create dest, it copies src/**/* into the already existing dest (at least I
think so).

What happens if you try the command and dest doesn't exist?

> Distcp update not preserving root directory permissions
> -------------------------------------------------------
>
>                 Key: HADOOP-15211
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15211
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools/distcp
>    Affects Versions: 2.6.0
>            Reporter: PRASHANT GOLASH
>            Priority: Minor
>
> "hadoop distcp -pugpb -update <SRC> <DEST>" does not preserve permission
for <DEST> directory. Although, it preserves permissions for child directories (<DEST>/child1
etc.)
> Using hadoop-distcp', version:'2.6.0-cdh5.7.2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message