Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D6235200C83 for ; Sun, 28 May 2017 13:21:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D4ACA160BD8; Sun, 28 May 2017 11:21:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2749D160BB1 for ; Sun, 28 May 2017 13:21:08 +0200 (CEST) Received: (qmail 95570 invoked by uid 500); 28 May 2017 11:21:07 -0000 Mailing-List: contact dev-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list dev@gora.apache.org Received: (qmail 95552 invoked by uid 99); 28 May 2017 11:21:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2017 11:21:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B258D18133C for ; Sun, 28 May 2017 11:21:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ruyBbNkk6mw9 for ; Sun, 28 May 2017 11:21:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BD1865F3F5 for ; Sun, 28 May 2017 11:21:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 28607E002B for ; Sun, 28 May 2017 11:21:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 80BDA2193C for ; Sun, 28 May 2017 11:21:04 +0000 (UTC) Date: Sun, 28 May 2017 11:21:04 +0000 (UTC) From: "Alfonso Nishikawa (JIRA)" To: dev@gora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (GORA-510) Conform Query.setEndKey to inclusive query in HBaseStore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 28 May 2017 11:21:09 -0000 Alfonso Nishikawa created GORA-510: -------------------------------------- Summary: Conform Query.setEndKey to inclusive query in HBaseStore Key: GORA-510 URL: https://issues.apache.org/jira/browse/GORA-510 Project: Apache Gora Issue Type: Bug Components: gora-hbase Affects Versions: 0.7, 0.6, 0.8 Reporter: Alfonso Nishikawa Assignee: Alfonso Nishikawa Priority: Minor The endKey query option does not work properly in HBase: Gora's query inteface defines it as 'inclusive' while HBase behaves 'exclusive'. The tests have been @ignored temporarily (since 2014! "nothing is more permanent than a temporary solution" ;) as shown at TestHBaseStore ([1]). There is a "TODO" with the message "raise an issue for HBase to allow us to specify if the endRow will be inclusive or exclusive", but HBase documentation states: "Note: In order to make stopRow inclusive add a trailing 0 byte" So: I propose to update HBaseStore to conform Gora's interface based on HBase's solution. [1] https://github.com/apache/gora/blob/apache-gora-0.7/gora-hbase/src/test/java/org/apache/gora/hbase/store/TestHBaseStore.java#L248 -- This message was sent by Atlassian JIRA (v6.3.15#6346)