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 "Nigel Daley (JIRA)" <ji...@apache.org> on 2007/03/13 18:23:09 UTC

[jira] Created: (HADOOP-1115) copyToLocal doesn't copy directories

copyToLocal doesn't copy directories
------------------------------------

                 Key: HADOOP-1115
                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
             Project: Hadoop
          Issue Type: Bug
          Components: dfs
    Affects Versions: 0.12.0
            Reporter: Nigel Daley
            Priority: Blocker
             Fix For: 0.12.1


Rohan reported this and I can also reproduce it:

> I am having problems with -copyToLocal in Hadoop [trunk]
> I have injected some data into the Distributed file system of Hadoop [trunk]
> When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> 
> *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> copyToLocal: Target rohan/data already exists*
>
> Same thing happens when i use -get or -cp option

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


[jira] Updated: (HADOOP-1115) copyToLocal doesn't copy directories

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

Hairong Kuang updated HADOOP-1115:
----------------------------------

    Status: Patch Available  (was: Open)

> copyToLocal doesn't copy directories
> ------------------------------------
>
>                 Key: HADOOP-1115
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>            Priority: Blocker
>             Fix For: 0.12.1
>
>         Attachments: getDir.patch
>
>
> Rohan reported this and I can also reproduce it:
> > I am having problems with -copyToLocal in Hadoop [trunk]
> > I have injected some data into the Distributed file system of Hadoop [trunk]
> > When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> > 
> > *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> > copyToLocal: Target rohan/data already exists*
> >
> > Same thing happens when i use -get or -cp option

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


[jira] Commented: (HADOOP-1115) copyToLocal doesn't copy directories

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

Hadoop QA commented on HADOOP-1115:
-----------------------------------

Integrated in Hadoop-Nightly #24 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/24/)

> copyToLocal doesn't copy directories
> ------------------------------------
>
>                 Key: HADOOP-1115
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>            Priority: Blocker
>             Fix For: 0.12.1
>
>         Attachments: getDir.patch
>
>
> Rohan reported this and I can also reproduce it:
> > I am having problems with -copyToLocal in Hadoop [trunk]
> > I have injected some data into the Distributed file system of Hadoop [trunk]
> > When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> > 
> > *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> > copyToLocal: Target rohan/data already exists*
> >
> > Same thing happens when i use -get or -cp option

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


[jira] Updated: (HADOOP-1115) copyToLocal doesn't copy directories

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

Hairong Kuang updated HADOOP-1115:
----------------------------------

    Attachment: getDir.patch

> copyToLocal doesn't copy directories
> ------------------------------------
>
>                 Key: HADOOP-1115
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>            Priority: Blocker
>             Fix For: 0.12.1
>
>         Attachments: getDir.patch
>
>
> Rohan reported this and I can also reproduce it:
> > I am having problems with -copyToLocal in Hadoop [trunk]
> > I have injected some data into the Distributed file system of Hadoop [trunk]
> > When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> > 
> > *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> > copyToLocal: Target rohan/data already exists*
> >
> > Same thing happens when i use -get or -cp option

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


[jira] Updated: (HADOOP-1115) copyToLocal doesn't copy directories

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

Hairong Kuang updated HADOOP-1115:
----------------------------------

    Attachment:     (was: getDir.patch)

> copyToLocal doesn't copy directories
> ------------------------------------
>
>                 Key: HADOOP-1115
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>            Priority: Blocker
>             Fix For: 0.12.1
>
>
> Rohan reported this and I can also reproduce it:
> > I am having problems with -copyToLocal in Hadoop [trunk]
> > I have injected some data into the Distributed file system of Hadoop [trunk]
> > When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> > 
> > *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> > copyToLocal: Target rohan/data already exists*
> >
> > Same thing happens when i use -get or -cp option

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


[jira] Updated: (HADOOP-1115) copyToLocal doesn't copy directories

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

Tom White updated HADOOP-1115:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Hairong!

> copyToLocal doesn't copy directories
> ------------------------------------
>
>                 Key: HADOOP-1115
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>            Priority: Blocker
>             Fix For: 0.12.1
>
>         Attachments: getDir.patch
>
>
> Rohan reported this and I can also reproduce it:
> > I am having problems with -copyToLocal in Hadoop [trunk]
> > I have injected some data into the Distributed file system of Hadoop [trunk]
> > When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> > 
> > *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> > copyToLocal: Target rohan/data already exists*
> >
> > Same thing happens when i use -get or -cp option

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


[jira] Updated: (HADOOP-1115) copyToLocal doesn't copy directories

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

Hairong Kuang updated HADOOP-1115:
----------------------------------

    Attachment: getDir.patch

Thank Espen for his patch. 

> copyToLocal doesn't copy directories
> ------------------------------------
>
>                 Key: HADOOP-1115
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>            Priority: Blocker
>             Fix For: 0.12.1
>
>         Attachments: getDir.patch
>
>
> Rohan reported this and I can also reproduce it:
> > I am having problems with -copyToLocal in Hadoop [trunk]
> > I have injected some data into the Distributed file system of Hadoop [trunk]
> > When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> > 
> > *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> > copyToLocal: Target rohan/data already exists*
> >
> > Same thing happens when i use -get or -cp option

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


[jira] Updated: (HADOOP-1115) copyToLocal doesn't copy directories

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

Tom White updated HADOOP-1115:
------------------------------

    Status: Open  (was: Patch Available)

The patch causes org.apache.hadoop.dfs.TestDFSShell to fail with fthe following message:

Testcase: testDFSShell took 8.861 sec
        FAILED
Copying failed.
junit.framework.AssertionFailedError: Copying failed.
        at org.apache.hadoop.dfs.TestDFSShell.testDFSShell(TestDFSShell.java:104)

> copyToLocal doesn't copy directories
> ------------------------------------
>
>                 Key: HADOOP-1115
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>            Priority: Blocker
>             Fix For: 0.12.1
>
>         Attachments: getDir.patch
>
>
> Rohan reported this and I can also reproduce it:
> > I am having problems with -copyToLocal in Hadoop [trunk]
> > I have injected some data into the Distributed file system of Hadoop [trunk]
> > When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> > 
> > *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> > copyToLocal: Target rohan/data already exists*
> >
> > Same thing happens when i use -get or -cp option

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


[jira] Updated: (HADOOP-1115) copyToLocal doesn't copy directories

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

Hairong Kuang updated HADOOP-1115:
----------------------------------

    Status: Patch Available  (was: Open)

> copyToLocal doesn't copy directories
> ------------------------------------
>
>                 Key: HADOOP-1115
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1115
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>            Priority: Blocker
>             Fix For: 0.12.1
>
>         Attachments: getDir.patch
>
>
> Rohan reported this and I can also reproduce it:
> > I am having problems with -copyToLocal in Hadoop [trunk]
> > I have injected some data into the Distributed file system of Hadoop [trunk]
> > When I try to do -copyToLocal on a file it works fine but when I try to do -copyToLocal on a directory I get the following error:
> > 
> > *[user@bob01 nutch]$ bin/hadoop fs -copyToLocal crawldb rohan/
> > copyToLocal: Target rohan/data already exists*
> >
> > Same thing happens when i use -get or -cp option

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