hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18066) Get with closest_row_before on "hbase:meta" can return empty Cell during region merge/split
Date Wed, 07 Jun 2017 02:56:18 GMT

    [ https://issues.apache.org/jira/browse/HBASE-18066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040059#comment-16040059
] 

Hudson commented on HBASE-18066:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-1.3-JDK8 #190 (See [https://builds.apache.org/job/HBase-1.3-JDK8/190/])
HBASE-18066: Get with closest_row_before on hbase:meta can return empty (apurtell: rev 5812e41bca63463798c2f9beaeb30377291a4419)
* (add) hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientGetWithClosestRowBefore.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java


> Get with closest_row_before on "hbase:meta" can return empty Cell during region merge/split
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-18066
>                 URL: https://issues.apache.org/jira/browse/HBASE-18066
>             Project: HBase
>          Issue Type: Bug
>          Components: hbase, regionserver
>    Affects Versions: 1.3.1
>         Environment: Linux (16.04.2), MacOS 10.11.6.
> Standalone and distributed HBase setup.
>            Reporter: Andrey Elenskiy
>            Assignee: Zheng Hu
>             Fix For: 1.4.0, 1.2.6, 1.3.2, 1.1.11
>
>         Attachments: HBASE-18066.branch-1.1.v1.patch, HBASE-18066.branch-1.1.v2.patch,
HBASE-18066.branch-1.1.v2.patch, HBASE-18066.branch-1.3.v1.patch, HBASE-18066.branch-1.3.v2.patch,
HBASE-18066.branch-1.3.v2.patch, HBASE-18066.branch-1.v1.patch, HBASE-18066.branch-1.v2.patch,
HBASE-18066.branch-1.v3.patch, HBASE-18066.branch-1.v4.patch, TestGetWithClosestRowBeforeWhenSplit.java
>
>
> During region split/merge there's a brief period of time where doing a "Get" with "closest_row_before=true"
on "hbase:meta" may return empty "GetResponse.result.cell" field even though parent, splitA
and splitB regions are all in "hbase:meta". Both gohbase (https://github.com/tsuna/gohbase)
and AsyncHBase (https://github.com/OpenTSDB/asynchbase) interprets this as "TableDoesNotExist",
which is returned to the client.
> Here's a gist that reproduces this problem: https://gist.github.com/Timoha/c7a236b768be9220e85e53e1ca53bf96.
Note that you have to use older HTable client (I used 1.2.4) as current versions ignore `Get.setClosestRowBefore(bool)`
option.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message