hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <qwertyman...@gmail.com>
Subject Re: datanode down alert
Date Tue, 15 Feb 2011 14:13:18 GMT
I know of a way but I do not know for sure if that is what you're looking for:

DFSClient.datanodeReport(DataNodeReportType.DEAD) should give you a
list of all DEAD data nodes as per the NameNode.

Although I believe the reports cost a lot, so do not do it often (rpcs the NN).

On Tue, Feb 15, 2011 at 6:51 PM, Rita <rmorgan466@gmail.com> wrote:
> Is there a programmatic way to determine if a datanode is down?
>
>
>
> --
> --- Get your facts first, then you can distort them as you please.--
>



-- 
Harsh J
www.harshj.com

Mime
View raw message