|
|
-
Problem with ColumnPaginationFilter: after put twice,get half of limit columns
deanforwever2010 2012-07-13, 08:26
in hbase 0.94 if I put columns into a row,the first time I get the limit columns but I put columns again, I got half of the columns
I print get's maxversion ,it is 1
anyone can help me?
-
Re: Problem with ColumnPaginationFilter: after put twice,get half of limit columns
deanforwever2010 2012-07-18, 03:01
it only happened when i put same data twice more in the column any ideas?
2012/7/13 deanforwever2010 <[EMAIL PROTECTED]>
> in hbase 0.94 > if I put columns into a row,the first time I get the limit columns > but I put columns again, I got half of the columns > > I print get's maxversion ,it is 1 > > anyone can help me? >
-
Re: Problem with ColumnPaginationFilter: after put twice,get half of limit columns
Suraj Varma 2012-07-18, 23:03
It's not clear what your question is ... can you provide your hbase shell session or code snippet that shows the below scenario? --S
On Tue, Jul 17, 2012 at 8:01 PM, deanforwever2010 <[EMAIL PROTECTED]> wrote: > it only happened when i put same data twice more in the column > any ideas? > > 2012/7/13 deanforwever2010 <[EMAIL PROTECTED]> > >> in hbase 0.94 >> if I put columns into a row,the first time I get the limit columns >> but I put columns again, I got half of the columns >> >> I print get's maxversion ,it is 1 >> >> anyone can help me? >>
-
Re: Problem with ColumnPaginationFilter: after put twice,get half of limit columns
deanforwever2010 2012-07-19, 02:23
hi Suraj my code is like this for(int i = 0; i < 50000; i++) ht.commonDao.insert(row, "sl", 3466673706998492l+i+"", ""); for(int i = 0; i < 50000; i++) ht.commonDao.insert(row, "sl", 3466673706998492l+i+"", "");
put the same record twice when I get 500 records by ColumnPaginationFilter,I just got 250
Get get = new Get(Bytes.toBytes(token)); Filter filter = new ColumnPaginationFilter(limit,start); get.setFilter(filter); Result result = hTable.get(get); 2012/7/19 Suraj Varma <[EMAIL PROTECTED]>
> It's not clear what your question is ... can you provide your hbase > shell session or code snippet that shows the below scenario? > --S > > On Tue, Jul 17, 2012 at 8:01 PM, deanforwever2010 > <[EMAIL PROTECTED]> wrote: > > it only happened when i put same data twice more in the column > > any ideas? > > > > 2012/7/13 deanforwever2010 <[EMAIL PROTECTED]> > > > >> in hbase 0.94 > >> if I put columns into a row,the first time I get the limit columns > >> but I put columns again, I got half of the columns > >> > >> I print get's maxversion ,it is 1 > >> > >> anyone can help me? > >> >
|
|