hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yehia Elshater <y.z.elsha...@gmail.com>
Subject Re: Block should be additionally replicated on 1 more rack(s)
Date Mon, 14 Jul 2014 08:52:06 GMT
Hi,

Did you try Hadoop rebalancer ?

http://hadoop.apache.org/docs/r1.0.4/hdfs_user_guide.html#Rebalancer



On 14 July 2014 04:10, 风雨无阻 <232341339@qq.com> wrote:

> HI all:
>
> After the cluster configuration rack awareness,run " hadoop fsck / "
> A lot of the following error occurred:
>  Replica placement policy is violated for
> blk_-1267324897180563985_11130670. Block should be additionally replicated
> on 1 more rack(s).
>
> Online said "The reason is that three copies on the same rack" .
> The solution is now:
> hadoop dfs -setrep 4
>  /user/hive/warehouse/tbl_add_av_errorlog_android/dt=2013-08-24/000004_0
> sleep N
> hadoop dfs -setrep 3
> /user/hive/warehouse/tbl_add_av_errorlog_android/dt=2013-08-24/000004_0
> But the speed is very slow。‍
>
> What is a better good way to make HDFS become healthy‍?‍
>
> Thanks,‍
> Ma Jian
>

Mime
View raw message