Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1115

copyToLocal doesn't copy directories

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.12.0
    • 0.12.1
    • None
    • 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

      Attachments

        1. getDir.patch
          0.5 kB
          Hairong Kuang

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            nidaley Nigel Daley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment