hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wang <andrew.w...@cloudera.com>
Subject Re: Dose hdfs support the configuration that different blocks can have different number of replcias?
Date Tue, 03 Mar 2015 19:57:38 GMT
Yup, definitely. Check out the -setrep command:

http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html#setrep

HTH,
Andrew

On Tue, Mar 3, 2015 at 11:49 AM, Lipeng Wan <lipengwan86@gmail.com> wrote:

> Hi Andrew,
>
> Thanks for your reply!
> Then is it possible for us to specify different replication factors
> for different files?
>
> Lipeng
>
> On Tue, Mar 3, 2015 at 2:38 PM, Andrew Wang <andrew.wang@cloudera.com>
> wrote:
> > Hi Lipeng,
> >
> > Right now that is unsupported, replication is set on a per-file basis,
> not
> > per-block.
> >
> > Andrew
> >
> > On Tue, Mar 3, 2015 at 11:23 AM, Lipeng Wan <lipengwan86@gmail.com>
> wrote:
> >
> >> Hi devs,
> >>
> >> By default, hdfs creates same number of replicas for each block. Is it
> >> possible for us to create more replicas for some of the blocks?
> >> Thanks!
> >>
> >> L. W.
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message