Hi Venkat, Have a look at http://hadoop.apache.org/common/docs/r0.20.1/api/org/apache/hadoop/fs/FileSystem.html There's a method #getFileBlockLocations
CCing bookkeeper-user list again. Could you reply all when you reply? -Ivan On 16 Mar 2012, at 19:38, venkat wrote: > Hi Ivan, > How to fetch the Data block details from the namenode? > Awaiting your reply > > On Fri, Mar 16, 2012 at 1:00 AM, venkat <[email protected]> wrote: >> I am trying to efficiently manage the data across >> clusters(inter-cluster management). suppose I have 5 clusters with a >> namenode each, my data is replicated across these five clusters. So >> when a job comes I need to fetch the details about the data present in >> datanodes which is available in NN. >> >> >> >> >> >> On Fri, Mar 16, 2012 at 12:47 AM, Ivan Kelly <[email protected]> wrote: >>> On 15 Mar 2012, at 20:09, venkat wrote: >>>> The guide helped me a lot.My hadoop work got stagnant with >>>> this integration problem. Now my bookkeeper is working fine with HDFS. >>>> Is it possible to fetch the namenode details( data blocks information) >>>> from the bookkeeper ?? >>> No, you have to go to the namenode for that. What is it exactly you'd like >>> to do? >>> >>> -Ivan
