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 Plain View
HBase >> mail # user >> Possibly unnecessary check in Result.getColumnLatest(byte[] family, byte[] qualifier)


Copy link to this message
-
Possibly unnecessary check in Result.getColumnLatest(byte[] family, byte[] qualifier)
Hi All,

I was looking into the code of Result.getColumnLatest(byte[] family, byte[]
qualifier) in HBase0.94.3 tag.
I feel like the following check is unnecessary on line #245 since we have
already got the right column by preforming binary search previously:
    if (kv.matchingColumn(family, qualifier)) {
      return kv;
    }

Am i missing something over here?
--
Thanks & Regards,
Anil Gupta
+
Ted Yu 2013-01-22, 18:18
+
anil gupta 2013-01-22, 22:49
+
Ted Yu 2013-01-22, 23:19
+
anil gupta 2013-01-22, 23:27
+
Minor, Eric 2014-12-11, 21:34
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