I'm glad I could help. I suggest you import the source code in an IDE (we
use Eclipse) and navigate around it. The outline view in Eclipse is a
BlocksMap does not seem to have that API. I would try FSNamesystem on the
namenode. On the client side, the DFSClient class is what opens a file (and
takes care of all the block-mapping).
Hope this helps,
On Wed, Feb 15, 2012 at 6:56 PM, Selwa <[EMAIL PROTECTED]> wrote:
> thank u very much for your reply.
> i am using version 0.21.0 . hope your comment will help me a lot.
> BTW, after i got the blocksMap, can i request this blocksMap to return
> blocks of a given file.
> i mean how to map a filename to its blocks?
> Best wishes,
> View this message in context:
> Sent from the Hadoop lucene-dev mailing list archive at Nabble.com.