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

Search Discussions

  • woyg (JIRA) at Jun 20, 2007 at 4:56 pm
    [ 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.
  • Chris Douglas (JIRA) at Aug 10, 2007 at 7:58 pm
    [ 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.
  • Owen O'Malley (JIRA) at Sep 6, 2007 at 7:09 am
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJun 18, '07 at 7:07p
activeSep 6, '07 at 7:09a
posts4
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Owen O'Malley (JIRA): 4 posts

People

Translate

site design / logo © 2022 Grokbase