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

Mukund Madhugiri commented on HADOOP-2760:
------------------------------------------

Do we even need this? It works from 0.15 if data in 0.16 is world readable. If 
somebody is pulling data from a "secure" cluster into an "unsecure" cluster, 
the data is anyway going to be world readable. I tried the scenarios and here 
is the data:

1. distcp initiated from 0.15.3 and 0.16.0 permissions turned OFF:
* Directory with permission 777, data copied from 0.16.0 to 0.15.3 - WORKS
* Directory with permission 770, data copied from 0.16.0 to 0.15.3 - WORKS
* Directory with permission 700, data copied from 0.16.0 to 0.15.3 - WORKS
* Directory with permission 000, data copied from 0.16.0 to 0.15.3 - WORKS

2. distcp initiated from 0.15.3 and 0.16.0 permissions turned ON:
* Directory with permission 777, data copied from 0.16.0 to 0.15.3 - WORKS
* Directory with permission 770, data copied from 0.16.0 to 0.15.3 - DOES NOT 
WORK
* Directory with permission 700, data copied from 0.16.0 to 0.15.3 - DOES NOT 
WORK
* Directory with permission 000, data copied from 0.16.0 to 0.15.3 - DOES NOT 
WORK

3. distcp initiated from 0.16.0 and 0.16.0 permissions turned ON:
* data copied from 0.15.3 to 0.16.0 - WORKS

4. distcp initiated from 0.16.0 and 0.16.0 permissions turned OFF:
* data copied from 0.15.3 to 0.16.0 - WORKS 

> 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.

Reply via email to