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 4B63E200C92 for ; Sun, 28 May 2017 14:38:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 487DD160BB1; Sun, 28 May 2017 12:38:09 +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 95520160BCC for ; Sun, 28 May 2017 14:38:08 +0200 (CEST) Received: (qmail 29528 invoked by uid 500); 28 May 2017 12:38: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 29517 invoked by uid 99); 28 May 2017 12:38:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 May 2017 12:38:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 333271A01EF for ; Sun, 28 May 2017 12:38:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XYm3gybGNOdr for ; Sun, 28 May 2017 12:38: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 1C1E75FBB9 for ; Sun, 28 May 2017 12:38:06 +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 A946FE0BCA for ; Sun, 28 May 2017 12:38: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 EF57021B56 for ; Sun, 28 May 2017 12:38:04 +0000 (UTC) Date: Sun, 28 May 2017 12:38:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@gora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GORA-510) Conform Query.setEndKey to inclusive query for HBaseStore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 28 May 2017 12:38:09 -0000 [ https://issues.apache.org/jira/browse/GORA-510?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D160278= 05#comment-16027805 ]=20 ASF GitHub Bot commented on GORA-510: ------------------------------------- GitHub user alfonsonishikawa opened a pull request: https://github.com/apache/gora/pull/106 GORA-510 Conform Query.setEndKey to inclusive query for HBaseStore Fix + enabled ignored Tests in HBase module. Link to Jira: https://issues.apache.org/jira/browse/GORA-510 You can merge this pull request into a Git repository by running: $ git pull https://github.com/alfonsonishikawa/gora GORA-510 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/gora/pull/106.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #106 =20 ---- commit b9b91ae68d5ecc7a94d9aa14f3a93bb892c5da38 Author: Alfonso Nishikawa Mu=C3=B1umer Date: 2017-05-28T12:36:26Z GORA-510 Conform Query.setEndKey to inclusive query for HBaseStore Fix + enabled ignored Tests ---- > Conform Query.setEndKey to inclusive query for 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.6, 0.7, 0.8 > Reporter: Alfonso Nishikawa > Assignee: Alfonso Nishikawa > Priority: Minor > Labels: query > Original Estimate: 48h > Remaining Estimate: 48h > > The endKey query option does not work properly in HBase: Gora's query int= eface defines it as 'inclusive' while HBase behaves 'exclusive'. > The tests have been @ignored temporarily (since 2014! "nothing is more pe= rmanent 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 documen= tation 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 H= Base's solution. > [1] https://github.com/apache/gora/blob/apache-gora-0.7/gora-hbase/src/te= st/java/org/apache/gora/hbase/store/TestHBaseStore.java#L248 -- This message was sent by Atlassian JIRA (v6.3.15#6346)