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 11:52:15 GMT
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