hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raj Hadoop <hadoop...@yahoo.com>
Subject Re: A hadoop command to determine the replication factor of a hdfs file ?
Date Sat, 08 Feb 2014 20:03:47 GMT



Thank you all.



On Saturday, February 8, 2014 12:53 PM, Devin Suiter RDX <dsuiter@rdx.com> wrote:
 
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