Kafka, mail # user - Re: large amount of disk space freed on restart - 2013-07-26, 07:43
 Search Hadoop and all its subprojects:

Switch to Plain View
Copy link to this message
Re: large amount of disk space freed on restart
It looks like xfs will reclaim the preallocated space for a file, after it
is closed.

Does kafka close a file after it has reached it's max size and started
writing to the next log file in sequence?  Or does it keep all open until
they are deleted, or the server quits (that's what it seems like).

I could imagine that it might need to keep log files open, in order to
allow consumers access to them.  But does it keep them open indefinitely,
after there is no longer any data to be written to them, and no consumers
are currently attempting to read from them?

On Tue, Jul 16, 2013 at 4:32 PM, Jay Kreps <[EMAIL PROTECTED]> wrote:
Jay Kreps 2013-07-26, 16:46
Jason Rosenberg 2013-07-26, 21:00
Jay Kreps 2013-07-26, 21:03
Jason Rosenberg 2013-07-14, 08:37
Jay Kreps 2013-07-14, 16:45
Jason Rosenberg 2013-07-16, 18:23
Jay Kreps 2013-07-16, 20:32
Mike Heffner 2013-09-09, 15:18
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB