hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bejoy.had...@gmail.com
Subject Re: Get Replication level of a file in HDFS.
Date Thu, 29 Sep 2011 18:17:40 GMT
Hey Ajith
      When you fire a hadoop fs -ls command on a dir you can see that on the listing the second
column shows the replication factor. And there is a pretty good API provided by hadoop using
which you can get almost any details from hdfs, you just need to write a java program.

Hope it helps

Regards
Bejoy K S

-----Original Message-----
From: Ajit Ratnaparkhi <ajit.ratnaparkhi@gmail.com>
Date: Thu, 29 Sep 2011 16:49:58 
To: <hdfs-user@hadoop.apache.org>
Reply-To: hdfs-user@hadoop.apache.org
Subject: Get Replication level of a file in HDFS.

Hi,

Is there any way to get replication level of a file in HDFS?

thanks,
Ajit.


Mime
View raw message