FAQ
Hello!
I've been reading in the "Hadoop Definitive guide" by Tom White
about the block emptiness when a file is not large enough to occupy the full size of the block.

From the statement (cite from the book)
"Unlike a filesystem for a single disk, a file in HDFS that is smaller than a single block does not occupy a full block’s worth of underlying storage." I can understand the physical space left from the initial block size will be free. My question is can the underlying operating reuse/write this remained free space?
I'll look forward for your answers.
Thank you,
Florin

Search Discussions

  • James Seigel at Mar 12, 2011 at 6:05 pm
    Yes. Just your "FAT" is consumed.

    Sent from my mobile. Please excuse the typos.
    On 2011-03-12, at 11:04 AM, Florin Picioroaga wrote:

    Hello!
    I've been reading in the "Hadoop Definitive guide" by Tom White
    about the block emptiness when a file is not large enough to occupy the full size of the block.

    From the statement (cite from the book)
    "Unlike a filesystem for a single disk, a file in HDFS that is smaller than a single block does not occupy a full block’s worth of underlying storage." I can understand the physical space left from the initial block size will be free. My question is can the underlying operating reuse/write this remained free space?
    I'll look forward for your answers.
    Thank you,
    Florin


Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedMar 12, '11 at 6:04p
activeMar 12, '11 at 6:05p
posts2
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Florin Picioroaga: 1 post James Seigel: 1 post

People

Translate

site design / logo © 2022 Grokbase