[
https://issues.apache.org/jira/browse/HADOOP-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566844#action_12566844
]
Tsz Wo (Nicholas), SZE commented on HADOOP-2760:
------------------------------------------------
> Do we even need this? It works from 0.15 if data in 0.16 is world readable.
+1: I agree that we might not need to fix this issue.
More details:
For distcp from a 0.16 cluster to a 0.15 cluster, since 0.15 distcp does not
provide a ugi, the default web account (the value specified by dfs.web.ugi in
the conf, the default is "webuser,webgroup") is used for permission checking.
Therefore, for permission OFF or 777, it should work for any web account.
However, for some cases like 700, it depends on the owner of the directory. It
will work if the owner is the web account or the web account is a superuser.
> Distcp must be able to copy from .16 to .15
> -------------------------------------------
>
> Key: HADOOP-2760
> URL: https://issues.apache.org/jira/browse/HADOOP-2760
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Reporter: Robert Chansler
> Assignee: Tsz Wo (Nicholas), SZE
> Fix For: 0.15.4
>
>
> Typically the "from" source files are referenced via HTTP, a strategy to
> evade version incompatibilities. In .16, with permission checking, there is
> no presumption that any particular file can be read via the web server.
> There must be some alternative for supplying user credentials so as to enable
> down-version copies.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.