Home | About | Sematext search-lucene.com search-hadoop.com
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
 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:

from:
     long getLastByteOffsetBlock() {
       return lastByteOffsetInBlock;
     }

to

from:
     long getLastByteOffsetBlock() {
       return lastByteOffsetInBlock-1;
   }

I did 10 of such changes and about 60% were undetected.
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