hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From monu.o...@richmondinformatics.com
Subject Re: Help: -copyFromLocal
Date Wed, 29 Mar 2006 14:37:31 GMT
I have deleted the data from DFS.

Even wiped DFS by

# rm -rf /mylocal/hadoop/dfs

However, Andrzej suggests deleting the crc files.  Sounds good.  I'm going to
have a go.

Thanks for your suggestion.

Monu

Quoting Dima Mazmanov <nuther@proservice.ge>:

> Hi,monu.
>
> I think you must first delete similiar data in ndfs
> and then restore your backup
> You wrote 29 ìàðòà 2006 ã., 18:47:32:
>
>> Hello Team,
>
>> I created a backup of my DFS database:
>
>> # bin/hadoop dfs -copyToLocal /user/root/crawl /mylocaldir
>
>> I now want to restore from the backup using:
>
>> # bin/hadoop dfs -copyFromLocal /mylocaldir/crawl /user/root
>
>> However I'm getting the following error:
>
>> copyFromLocal: Target
>> /user/root/crawl/crawldb/current/part-00000/.data.crc
>> already exists
>
>> I get this message with every permutation of the command that I've 
>> tried, and
>> even after totally deleting all content in the DFS directories.
>
>> I'd be grateful for any pointers.
>
>> Many thanks,
>
>> Monu Ogbe
>
>
>
>> __________ NOD32 1.1460 (20060328) Information __________
>
>> This message was checked by NOD32 antivirus system.
>> http://www.eset.com
>
>
>
>
> --
> Regards,
> Dima                          mailto:nuther@proservice.ge
>
>




Mime
View raw message