Thanks for the response. I am asking because of the following issue, https://issues.apache.org/jira/browse/HDFS-694
When I decommission a data node it shows up in the "Dead list" on the webgui coincidentally it also shows up in the "Live" nodes. I want to make sure this node is fully decommissioned before I remove it from the cluster. On Tue, Feb 15, 2011 at 9:13 AM, Harsh J <qwertyman...@gmail.com> wrote: > 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 <rmorgan...@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 > -- --- Get your facts first, then you can distort them as you please.--