Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.12.1
    • Component/s: None
    • Labels:
      None

      Description

      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

      1. getDir.patch
        0.5 kB
        Hairong Kuang

        Activity

        Hide
        Hadoop QA added a comment -
        Show
        Hadoop QA added a comment - Integrated in Hadoop-Nightly #24 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/24/ )
        Hide
        Tom White added a comment -

        I've just committed this. Thanks Hairong!

        Show
        Tom White added a comment - I've just committed this. Thanks Hairong!
        Hide
        Tom White added a comment -

        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)

        Show
        Tom White added a comment - 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)
        Hide
        Hairong Kuang added a comment -

        Thank Espen for his patch.

        Show
        Hairong Kuang added a comment - Thank Espen for his patch.

          People

          • Assignee:
            Unassigned
            Reporter:
            Nigel Daley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development