hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Ranitovic <irani...@gmail.com>
Subject NPE in thrift deleteAll
Date Sun, 07 Feb 2010 22:58:28 GMT
We got NPE in the thrift deleteAll when deleting all of cells of an
entire family of a single row (e.g deleteAll(table, key, familyname)).

In org.apache.hadoop.hbase.thrift.ThriftServer's deleteAllTs
the line
     if (famAndQf[1].length == 0) {
 should be
    if (famAndQf[1] == null || famAndQf[1].length == 0) {

Also, it would better if deleteAll takes a list of columns. My two cents :)

Take care,
i.

Mime
View raw message