hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mehdi Mirakhorli <mirakho...@gmail.com>
Subject RE: Data Disk Failure - DataNode.Java
Date Thu, 22 Sep 2011 01:03:46 GMT
I've a question about Heartbeat implementation in Hadoop-HDFS.
I'm interested to find and modify the code snippets which implements the
heartbeat.
Right now I've found two main classes

HeartBeat is used by DataNode.Java (Heartbeat sender) and NameNode.java
(Heartbeat reciever) for fault detection purpose.
Can anyone confirm that I found the right classes (I mean the core classes)

Thanks
MM

Here I've the details of Files or packages that I could find:

hdfs\src\java\org\apache\hadoop\hdfs\server\blockmanagement\DatanodeManager.java
hdfs\src\java\org\apache\hadoop\hdfs\server\namenode\NameNode.java
hdfs\src\java\org\apache\hadoop\hdfs\server\namenode\FSNamesystem.java


hdfs\src\java\org\apache\hadoop\hdfs\server\datanode\DataNode.java
hdfs\src\java\org\apache\hadoop\hdfs\server\protocol\DatanodeProtocol.java

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message