hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: NPE in thrift deleteAll
Date Tue, 09 Feb 2010 01:04:53 GMT
Mighty Igor:

Any chance of your making an issue and attaching a patch with the
below?  (It looks like the change you make below should happen in more
than the place you cite)

Good on you boss,
St.Ack
P.S. That port is almost gone.


On Sun, Feb 7, 2010 at 2:58 PM, Igor Ranitovic <iranitov@gmail.com> wrote:
> 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