You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2007/06/18 21:07:25 UTC

[jira] Created: (HADOOP-1499) distcp creating extra directory when copying one file.

distcp creating extra directory when copying one file.
------------------------------------------------------

                 Key: HADOOP-1499
                 URL: https://issues.apache.org/jira/browse/HADOOP-1499
             Project: Hadoop
          Issue Type: Bug
          Components: util
    Affects Versions: 0.12.3
            Reporter: Koji Noguchi
            Priority: Minor


If I try to copy one file by distcp 

    hadoop distcp   hdfs://aaaa:9999/abc/efg hdfs://bbbb:9999/abc/efg 

on the target cluster, the file is  copied to 

/abc/efg/efg

creating one extra depth.

I wasn't sure if this was an expected behavior.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-1499) distcp creating extra directory when copying one file.

Posted by "woyg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506600 ] 

woyg commented on HADOOP-1499:
------------------------------

In my opinion distcp should match *nix cp command as much as possible.
So looks like this is a bug.

> distcp creating extra directory when copying one file.
> ------------------------------------------------------
>
>                 Key: HADOOP-1499
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1499
>             Project: Hadoop
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.12.3
>            Reporter: Koji Noguchi
>            Priority: Minor
>
> If I try to copy one file by distcp 
>     hadoop distcp   hdfs://aaaa:9999/abc/efg hdfs://bbbb:9999/abc/efg 
> on the target cluster, the file is  copied to 
> /abc/efg/efg
> creating one extra depth.
> I wasn't sure if this was an expected behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HADOOP-1499) distcp creating extra directory when copying one file.

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley resolved HADOOP-1499.
-----------------------------------

       Resolution: Duplicate
    Fix Version/s: 0.15.0

Fixed by HADOOP-1569.

> distcp creating extra directory when copying one file.
> ------------------------------------------------------
>
>                 Key: HADOOP-1499
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1499
>             Project: Hadoop
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.12.3
>            Reporter: Koji Noguchi
>            Assignee: Chris Douglas
>            Priority: Minor
>             Fix For: 0.15.0
>
>
> If I try to copy one file by distcp 
>     hadoop distcp   hdfs://aaaa:9999/abc/efg hdfs://bbbb:9999/abc/efg 
> on the target cluster, the file is  copied to 
> /abc/efg/efg
> creating one extra depth.
> I wasn't sure if this was an expected behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HADOOP-1499) distcp creating extra directory when copying one file.

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas reassigned HADOOP-1499:
-------------------------------------

    Assignee: Chris Douglas

> distcp creating extra directory when copying one file.
> ------------------------------------------------------
>
>                 Key: HADOOP-1499
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1499
>             Project: Hadoop
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.12.3
>            Reporter: Koji Noguchi
>            Assignee: Chris Douglas
>            Priority: Minor
>
> If I try to copy one file by distcp 
>     hadoop distcp   hdfs://aaaa:9999/abc/efg hdfs://bbbb:9999/abc/efg 
> on the target cluster, the file is  copied to 
> /abc/efg/efg
> creating one extra depth.
> I wasn't sure if this was an expected behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.