[jira] [Commented] (HBASE-3685) when multiple columns are combined with TimestampFilter, only one column is returned
[ https://issues.apache.org/jira/browse/HBASE-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13020530#comment-13020530 ] Hudson commented on HBASE-3685: --- Integrated in HBase-TRUNK #1858 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1858/]) when multiple columns are combined with TimestampFilter, only one column is returned Key: HBASE-3685 URL: https://issues.apache.org/jira/browse/HBASE-3685 Project: HBase Issue Type: Bug Components: filters, regionserver Reporter: Jerry Chen Priority: Minor Labels: noob Attachments: 3685-missing-column.patch As reported by an Hbase user: I have a ThreadMetadata column family, and there are two columns in it: v12:th: and v12:me. The following code only returns v12:me get.addColumn(Bytes.toBytes(ThreadMetadata), Bytes.toBytes(v12:th:); get.addColumn(Bytes.toBytes(ThreadMetadata), Bytes.toBytes(v12:me:); ListLong threadIds = new ArrayListLong(); threadIds.add(10709L); TimestampFilter filter = new TimestampFilter(threadIds); get.setFilter(filter); get.setMaxVersions(); Result result = table.get(get); I checked hbase for the key/value, they are present. Also other combinations like no timestampfilter, it returns both. Kannan was able to do a small repro of the issue and commented that if we drop the get.setMaxVersions(), then the problem goes away. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-3685) when multiple columns are combined with TimestampFilter, only one column is returned
[ https://issues.apache.org/jira/browse/HBASE-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13019468#comment-13019468 ] Jerry Chen commented on HBASE-3685: --- @stack, can you take a look at this? Kannan and Jonathan have reviewed it internally. when multiple columns are combined with TimestampFilter, only one column is returned Key: HBASE-3685 URL: https://issues.apache.org/jira/browse/HBASE-3685 Project: HBase Issue Type: Bug Components: filters, regionserver Reporter: Jerry Chen Priority: Minor Labels: noob Attachments: 3685-missing-column.patch As reported by an Hbase user: I have a ThreadMetadata column family, and there are two columns in it: v12:th: and v12:me. The following code only returns v12:me get.addColumn(Bytes.toBytes(ThreadMetadata), Bytes.toBytes(v12:th:); get.addColumn(Bytes.toBytes(ThreadMetadata), Bytes.toBytes(v12:me:); ListLong threadIds = new ArrayListLong(); threadIds.add(10709L); TimestampFilter filter = new TimestampFilter(threadIds); get.setFilter(filter); get.setMaxVersions(); Result result = table.get(get); I checked hbase for the key/value, they are present. Also other combinations like no timestampfilter, it returns both. Kannan was able to do a small repro of the issue and commented that if we drop the get.setMaxVersions(), then the problem goes away. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-3685) when multiple columns are combined with TimestampFilter, only one column is returned
[ https://issues.apache.org/jira/browse/HBASE-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13015656#comment-13015656 ] stack commented on HBASE-3685: -- @Jerry Is there a patch attached? I don't see it. when multiple columns are combined with TimestampFilter, only one column is returned Key: HBASE-3685 URL: https://issues.apache.org/jira/browse/HBASE-3685 Project: HBase Issue Type: Bug Components: filters, regionserver Reporter: Jerry Chen Priority: Minor Labels: noob As reported by an Hbase user: I have a ThreadMetadata column family, and there are two columns in it: v12:th: and v12:me. The following code only returns v12:me get.addColumn(Bytes.toBytes(ThreadMetadata), Bytes.toBytes(v12:th:); get.addColumn(Bytes.toBytes(ThreadMetadata), Bytes.toBytes(v12:me:); ListLong threadIds = new ArrayListLong(); threadIds.add(10709L); TimestampFilter filter = new TimestampFilter(threadIds); get.setFilter(filter); get.setMaxVersions(); Result result = table.get(get); I checked hbase for the key/value, they are present. Also other combinations like no timestampfilter, it returns both. Kannan was able to do a small repro of the issue and commented that if we drop the get.setMaxVersions(), then the problem goes away. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira