Another way is to go through the ReplicaInfo class which has package private
File getBlockFile() method
Cos
On 12/8/09 17:12 , Suresh Srinivas wrote:
There is no need to store file name in the block. Given block you can get
BlockInfo, which has INodeFile. From this you can get the correspondi
There is no need to store file name in the block. Given block you can get
BlockInfo, which has INodeFile. From this you can get the corresponding file
name. As Dhruba said, I am interested in the use-case as well.
On 12/3/09 1:25 AM, "Dhruba Borthakur" wrote:
I think that if we add the filena
I think that if we add the filename of a file to each block, it adds
additional complexity to the implementation of the filesystem. what is the
use-case that you have in mind?
thanks,
dhruba
On Wed, Dec 2, 2009 at 11:30 PM, Jack Li wrote:
>
> I am trying to add functionality so that a block can
What if the user renames or move the file?
Zheng
From: Jack Li [jack...@duke.edu]
Sent: Wednesday, December 02, 2009 11:30 PM
To: common-dev@hadoop.apache.org
Subject: adding functionality to retrieve file name from a block
Hi,
I am trying to add function