RE: Get addColumn + ColumnRangeFilter

2015-01-18 Thread Taeyun Kim
Thank you! In fact I've forgotten that there is FilterList. It works well! -Original Message- From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Monday, January 19, 2015 9:46 AM To: user@hbase.apache.org Subject: Re: Get addColumn + ColumnRangeFilter If the number of splits is greater

RE: Get addColumn + ColumnRangeFilter

2015-01-18 Thread Taeyun Kim
can be satisfied with single Get. Thanks again. -Original Message- From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Saturday, January 17, 2015 6:31 AM To: user@hbase.apache.org Subject: Re: Get addColumn + ColumnRangeFilter To clarify what I meant, the test passes with the following

Re: Get addColumn + ColumnRangeFilter

2015-01-16 Thread Ted Yu
Files.readAllBytes()), must Get 'm' and unknown number of splits that has a name range(Result.csv.0 ~ Result.csv.7) to Get the whole content by single Get. (addColumn() + ColumnRangeFilter) But for the current HBase status, it seems that I have to invoke 2 Gets, or disable the version check. (Maybe not a big

Re: Get addColumn + ColumnRangeFilter

2015-01-16 Thread Ted Yu
.0 ~ Result.csv.7) to Get the whole content by single Get. (addColumn() + ColumnRangeFilter) But for the current HBase status, it seems that I have to invoke 2 Gets, or disable the version check. (Maybe not a big deal?) That's all. If you think that this Record is not efficient

Re: Get addColumn + ColumnRangeFilter

2015-01-15 Thread Ted Yu
.testAddColumnWithColumnRangeFilter(): Result is empty If the tests have problems, please let me know. -Original Message- From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Thursday, January 15, 2015 6:59 PM To: user@hbase.apache.org Subject: Re: Get addColumn + ColumnRangeFilter Can you write a unit test which

RE: Get addColumn + ColumnRangeFilter

2015-01-15 Thread Taeyun Kim
(Result.csv.0 ~ Result.csv.7) to Get the whole content by single Get. (addColumn() + ColumnRangeFilter) But for the current HBase status, it seems that I have to invoke 2 Gets, or disable the version check. (Maybe not a big deal?) That's all. If you think that this Record is not efficient

RE: Get addColumn + ColumnRangeFilter

2015-01-15 Thread Taeyun Kim
HBase' 'slow' scan speed relative to the HDFS sequential read is not a concern. -Original Message- From: Taeyun Kim [mailto:taeyun@innowireless.com] Sent: Friday, January 16, 2015 4:36 PM To: 'user@hbase.apache.org' Subject: RE: Get addColumn + ColumnRangeFilter It's a somewhat long

RE: Get addColumn + ColumnRangeFilter

2015-01-15 Thread Taeyun Kim
; } If the tests have problems, please let me know. Thanks. -Original Message- From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Thursday, January 15, 2015 6:59 PM To: user@hbase.apache.org Subject: Re: Get addColumn + ColumnRangeFilter Can you write a unit test which shows

Re: Get addColumn + ColumnRangeFilter

2015-01-15 Thread Ted Yu
...@gmail.com] Sent: Thursday, January 15, 2015 6:59 PM To: user@hbase.apache.org Subject: Re: Get addColumn + ColumnRangeFilter Can you write a unit test which shows this behavior? Thanks On Jan 14, 2015, at 9:09 PM, Taeyun Kim taeyun.kim.innowirel...@gmail.com wrote: Hi, I

Re: Get addColumn + ColumnRangeFilter

2015-01-15 Thread Ted Yu
Can you write a unit test which shows this behavior? Thanks On Jan 14, 2015, at 9:09 PM, Taeyun Kim taeyun.kim.innowirel...@gmail.com wrote: Hi, I have a situation that both Get.addColumn() and Get.setFilter(new ColumnRangeFilter(…)) needed to Get. The source code snippet is

Get addColumn + ColumnRangeFilter

2015-01-14 Thread Taeyun Kim
Hi, I have a situation that both Get.addColumn() and Get.setFilter(new ColumnRangeFilter(…)) needed to Get. The source code snippet is as follows: Get g = new Get(getRowKey(lfileId)); g.addColumn(Schema.ColumnFamilyNameBytes, MetaColumnNameBytes); g.setFilter(new