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-18122) Scanner id should include ServerName of region server
Date Wed, 31 May 2017 09:28:04 GMT

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

Hudson commented on HBASE-18122:

FAILURE: Integrated in Jenkins build HBase-1.2-JDK8 #139 (See [https://builds.apache.org/job/HBase-1.2-JDK8/139/])
HBASE-18122 Scanner id should include ServerName of region server (yangzhe1991: rev afbbfb4474bd54cde085f71bdb0f13dfae65a2a6)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
* (add) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScannerIdGenerator.java

> Scanner id should include ServerName of region server
> -----------------------------------------------------
>                 Key: HBASE-18122
>                 URL: https://issues.apache.org/jira/browse/HBASE-18122
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 1.4.0, 1.3.1, 1.1.10, 1.2.6
>            Reporter: Phil Yang
>            Assignee: Phil Yang
>             Fix For: 2.0.0, 1.4.0, 1.3.2, 1.1.11, 1.2.7
>         Attachments: addendum.patch, HBASE-18122.v01.patch, HBASE-18122.v02.patch, HBASE-18122.v03.patch,
> Now the scanner id is a long number from 1 to max in a region server. Each new scanner
will have a scanner id.
> If a client has a scanner whose id is x, when the RS restart and the scanner id is also
incremented to x or a little larger, there will be a scanner id collision.
> So the scanner id should now be same during each time the RS restart. We can add the
start timestamp as the highest several bits in scanner id uint64.
> And because HBASE-18121 is not easy to fix and there are many clients with old version.
We can also encode server host:port into the scanner id.
> So we can use ServerName.

This message was sent by Atlassian JIRA

View raw message