Mahmood Naderan 2013-05-27, 18:10
Jay Vyas 2013-05-27, 18:22
-Re: understanding souce code structure
Arpit Agarwal 2013-05-27, 19:04
It can be overwhelming to jump into the HDFS code. Have you read the
overview of HDFS <https://hadoop.apache.org/docs/r1.0.4/hdfs_design.html>?
I found it easiest to start with the DFSClient interface which encapsulates
The DFSClient communicates with the namenode using ClientProtocol.
The server side of the ClientProtocol handling is in NameNodeRpcServer.
Client communication with the DataNode is encapsulated in
Feel free to ask more specific questions if you get stuck.
On Mon, May 27, 2013 at 11:22 AM, Jay Vyas <[EMAIL PROTECTED]> wrote:
> Hi! a few weeks ago I had the same question... Tried a first iteration at
> documenting this by going through the classes starting with key/value pairs
> in the blog post below.
> Note it's not perfect yet but I think it should provide some insight into
> things. The lynch pin of it all is the DFSOutputStream and the
> DataStreamer classes. Anyways... Feel free to borrow the contents and
> roll your own , or comment on it & leave some feedback,or let me know if
> anything is missing.
> Definetly would be awesome to have a rock solid view of the full write
> On May 27, 2013, at 2:10 PM, Mahmood Naderan <[EMAIL PROTECTED]> wrote:
> I am trying to understand the source of of hadoop especially the HDFS. I
> want to know where should I look exactly in the source code about how HDFS
> distributes the data. Also how the map reduce engine tries to read the
> Any hint regarding the location of those in the source code is appreciated.