Re: Re: how to select the position of a block

2011-12-07 Thread Harsh J
Yep, its been moved to a different area after pluggable block placement policies were introduced. I answered with RTC cause OP was reading the hadoop book, which surrounds what is today 1.0. 2011/12/7 Praveen Sripati : > Not sure why, but I was able to find ReplicationTargetChooser.java only in >

RE: Re: how to select the position of a block

2011-12-07 Thread Uma Maheswara Rao G
To: common-dev@hadoop.apache.org Subject: Re: Re: how to select the position of a block Not sure why, but I was able to find ReplicationTargetChooser.java only in branch-1.0 and not in trunk, 21, 22 and 23. Regards, Praveen 2011/12/7 郭冲 > > > isGoodTarget() in ReplicationTargetCho

Re: Re: how to select the position of a block

2011-12-07 Thread Praveen Sripati
Not sure why, but I was able to find ReplicationTargetChooser.java only in branch-1.0 and not in trunk, 21, 22 and 23. Regards, Praveen 2011/12/7 郭冲 > > > isGoodTarget() in ReplicationTargetChooser.java judge if a node is a > good node, it will consider the disk space , load , and the rack wh

Re: how to select the position of a block

2011-12-06 Thread Harsh J
Moving discussion to hdfs-dev. DataNodes report disk usage (space) and current transfer thread counts (load) periodically to the NameNode. NameNode uses this information to make a decision while building the pipeline DNs for your client request. I believe the class is called something like Repl