Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # dev >> profiling hdfs write path

Copy link to this message
Re: profiling hdfs write path

> If you're just going to insult us, please stay away. We don't need
> your help unless you're going to be constructive.
Good units tests will catch code modifications like:

     long getLastByteOffsetBlock() {
       return lastByteOffsetInBlock;


     long getLastByteOffsetBlock() {
       return lastByteOffsetInBlock-1;

I did 10 of such changes and about 60% were undetected.