Thank you all.



On Saturday, February 8, 2014 12:53 PM, Devin Suiter RDX <[email protected]> 
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 <[email protected]> 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 <[email protected]> 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
>

Reply via email to