hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Sammer <esam...@cloudera.com>
Subject Re: How to make command setrepr take effect on data node ?
Date Sun, 13 Jun 2010 03:10:57 GMT
There is no way to force replication other than setrep. Do you have
fewer nodes than configured replicas? Hadoop will not place two
replicas on one data node, for instance.

On Sat, Jun 12, 2010 at 12:18 AM, Jeff Zhang <zjffdu@gmail.com> wrote:
> But when I invoke command fsck, it show that one replica is missing.
> So how can I force the replication ?
>
> On Sat, Jun 12, 2010 at 12:13 PM, Eric Sammer <esammer@cloudera.com> wrote:
>> Jeff:
>>
>> The name node will instruct the data nodes to do either remove or
>> create new replicas. There's nothing additional you need to do other
>> than fs -setrep.
>>
>> On Fri, Jun 11, 2010 at 3:18 AM, Jeff Zhang <zjffdu@gmail.com> wrote:
>>> Hi all,
>>>
>>> The command bin/hadoop setrepr only affect the metadata in namenode.
>>> So How can I make it take effect on data node ? Thanks.
>>>
>>> --
>>> Best Regards
>>>
>>> Jeff Zhang
>>>
>>
>>
>>
>> --
>> Eric Sammer
>> phone: +1-917-287-2675
>> twitter: esammer
>> data: www.cloudera.com
>>
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>



-- 
Eric Sammer
phone: +1-917-287-2675
twitter: esammer
data: www.cloudera.com

Mime
View raw message