Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> ColumnCountGetFilter not working with FilterList


Copy link to this message
-
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 [[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2012 5:04 PM
To: [EMAIL PROTECTED]
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*