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.ratnapar...@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.

Reply via email to