You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Mohammad Mustaqeem <3m...@gmail.com> on 2013/04/11 08:00:20 UTC

Which java file is responsible for replica placement??

Which class is responsible for replica placement??
Which class chooses the random rack for placement of 3rd replica?
and which class chooses the random datanode from the same rack for
placement of  ??
2nd replica???

-- 
*With regards ---*
*Mohammad Mustaqeem*,
M.Tech (CSE)
MNNIT Allahabad

Re: Which java file is responsible for replica placement??

Posted by Mohammad Mustaqeem <3m...@gmail.com>.
Thank you :)


On Thu, Apr 11, 2013 at 2:00 PM, Azuryy Yu <az...@gmail.com> wrote:

> org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault
>  in HadoopV2.
>
>
> On Thu, Apr 11, 2013 at 2:00 PM, Mohammad Mustaqeem
> <3m...@gmail.com>wrote:
>
> > Which class is responsible for replica placement??
> > Which class chooses the random rack for placement of 3rd replica?
> > and which class chooses the random datanode from the same rack for
> > placement of  ??
> > 2nd replica???
> >
> > --
> > *With regards ---*
> > *Mohammad Mustaqeem*,
> > M.Tech (CSE)
> > MNNIT Allahabad
> >
>



-- 
*With regards ---*
*Mohammad Mustaqeem*,
M.Tech (CSE)
MNNIT Allahabad
9026604270

Re: Which java file is responsible for replica placement??

Posted by Azuryy Yu <az...@gmail.com>.
org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicyDefault
 in HadoopV2.


On Thu, Apr 11, 2013 at 2:00 PM, Mohammad Mustaqeem
<3m...@gmail.com>wrote:

> Which class is responsible for replica placement??
> Which class chooses the random rack for placement of 3rd replica?
> and which class chooses the random datanode from the same rack for
> placement of  ??
> 2nd replica???
>
> --
> *With regards ---*
> *Mohammad Mustaqeem*,
> M.Tech (CSE)
> MNNIT Allahabad
>