hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devin Suiter RDX <dsui...@rdx.com>
Subject Re: A hadoop command to determine the replication factor of a hdfs file ?
Date Sat, 08 Feb 2014 17:53:01 GMT
Also Raj - if you're using pseudo-distributed mode, the replication factor
will be 1. This is part of pseudo-distributed configuration. So if you're
working on a Cloudera preconfigured machine image, for example, it's not
wrong that 'hadoop fs -ls' shows all files as replicated 1 times.

*Devin Suiter*
Jr. Data Solutions Software Engineer
100 Sandusky Street | 2nd Floor | Pittsburgh, PA 15212
Google Voice: 412-256-8556 | www.rdx.com


On Sat, Feb 8, 2014 at 12:48 PM, Harsh J <harsh@cloudera.com> wrote:

> Hi Raj,
>
> The 2nd column of any "hadoop fs -ls" output, and the "%r" option of
> the "hadoop fs -stat" commands both reveal the replication factor
> of a given file.
>
> On Sat, Feb 8, 2014 at 11:03 PM, Raj Hadoop <hadoopraj@yahoo.com> wrote:
> > Hi,
> >
> > Is there a hadoop command to determine the replication factor of a hdfs
> file
> > ? Please advise.
> >
> > I know that "fs setrep" only changes the replication factor.
> >
> > Regards,
> > Raj
>
>
>
> --
> Harsh J
>

Mime
View raw message