hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop Sam John <anoo...@huawei.com>
Subject RE: ColumnCountGetFilter not working with FilterList
Date Tue, 29 May 2012 13:07:17 GMT
The problem is when we have more KVs in that row than the limit [limit in ColumnCountGetFilter]..
In this case with  FilterList the problem is coming.  
@Ben can u file a Jira?

-Anoop-
________________________________________
From: Anoop Sam John [anoopsj@huawei.com]
Sent: Tuesday, May 29, 2012 5:22 PM
To: user@hbase.apache.org
Subject: RE: ColumnCountGetFilter not working with FilterList

Hi Ben,
            Is this the same code you are testing?  Which version of HBase you are testing
with? I have checked with 0.94 and it works fine ( with FilterList also )

-Anoop-

________________________________________
From: Ben Kim [benkimkimben@gmail.com]
Sent: Tuesday, May 29, 2012 5:04 PM
To: user@hbase.apache.org
Subject: ColumnCountGetFilter not working with FilterList

This is a straightforward question and problem.

            Get get = new Get(rowkey);
            FilterList filterList = new FilterList();
            filterList.addFilter(new ColumnCountGetFilter(100));
            get.setFilter(filterList);
            Result r = table.get(get);

This returns zero columns where it should have 100 columns.
It works well without FilterList.

Don't know what went wrong. Any help would be thankful


--

*Benjamin Kim*
*benkimkimben at gmail*

Mime
View raw message