[ 
https://issues.apache.org/jira/browse/HADOOP-7771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daryn Sharp updated HADOOP-7771:
--------------------------------

    Attachment: HADOOP-7771.patch

Fixes the NPE and also the recursion issues that cause paths to erroneously be 
copied into existing subdirs in the remote tree.  It looks worse than it is, 
but most of it is moving common code into {{CommandWithDestination}}.

HDFS tests need to be updated, but HDFS-2038 has them temporarily broken.  I've 
extensively tested via cmdline.
                
> NPE when running hdfs dfs -copyToLocal, -get etc
> ------------------------------------------------
>
>                 Key: HADOOP-7771
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7771
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: John George
>            Assignee: Daryn Sharp
>            Priority: Blocker
>         Attachments: HADOOP-7771.patch, HADOOP-7771.patch, HADOOP-7771.patch, 
> HADOOP-7771.patch, HADOOP-7771.patch, HADOOP-7771.patch
>
>
> NPE when running hdfs dfs -copyToLocal if the destination directory does not 
> exist. The behavior in branch-0.20-security is to create the directory and 
> copy/get the contents from source.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to