Re: what to do with the remaind space in the last block

2011-05-05 Thread cheng xu
Hi thanks for your reply! it really help alot! thanks again . 2011/5/6 Matthew Foley > Xu, the datanode only stores the amount of data provided. If the last > block only has, e.g., 10 bytes in it, then the datanode will use one > low-level block (the minimum space allocation from the underly

Re: what to do with the remaind space in the last block

2011-05-05 Thread Matthew Foley
Xu, the datanode only stores the amount of data provided. If the last block only has, e.g., 10 bytes in it, then the datanode will use one low-level block (the minimum space allocation from the underlying file system) to store those 10 bytes. Typically, low-level blocks are 8KB, but that depen

Re: what to do with the remaind space in the last block

2011-05-05 Thread Harsh J
Hello xu, On Thu, May 5, 2011 at 1:19 PM, cheng xu wrote: > as we know. the last block of file may be less then 64MB(as default > configged), then what will hdfs do with the remained space in the block?? > left for other files or just left unused?? Since no form of pre-allocation is performed wh

what to do with the remaind space in the last block

2011-05-05 Thread cheng xu
Hi all. as we know. the last block of file may be less then 64MB(as default configged), then what will hdfs do with the remained space in the block?? left for other files or just left unused?? any answer or related url is appreciated! thanks xu