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

Viraj Jasani edited comment on HBASE-26797 at 4/30/23 1:10 AM:
---------------------------------------------------------------

[~bbeaudreault] we also came across this issue, thank you again for this fix!! 
:)

Do you recall any other similar fixes done in branch-1 specifically for the 
similar 1.x client <-> 2.x server compatibility?

Mostly our 2.x codebase is quite up-to-date with latest branch-2.4 however due 
to EOL, we might have missed some imp patches from branch-1, and this Jira is 
definitely imp one.


was (Author: vjasani):
[~bbeaudreault] we also came across this issue, thank you again for this fix!! 
:)

Do you recall any other similar fixes done in branch-1 specifically for the 
similar 1.x client <-> 2.x server compatibility?

> HBase 1.x clients will choke on rep_barrier rows when scanning hbase 2.x meta
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-26797
>                 URL: https://issues.apache.org/jira/browse/HBASE-26797
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.7.1
>            Reporter: Bryan Beaudreault
>            Assignee: Bryan Beaudreault
>            Priority: Major
>              Labels: patch-available
>             Fix For: 1.7.2
>
>
> In hbase 2.x, support for serial replication included adding a new CF to meta 
> called rep_barrier. When regions are split or merged, these rep_barrier rows 
> will not be cleaned up. Instead there's a ReplicationBarrierCleaner chore 
> which runs every 12 hours. HBase 2.x clients will ignore these rep_barrier 
> rows, per the [addFamily call in 
> locateRegionInMeta|[https://github.com/apache/hbase/blob/branch-2/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java#L929].]
> Encountering these orphan rep_barrier rows causes the hbase 1.x client to 
> fail when it [tries to extract the region location from the meta 
> row|[https://github.com/apache/hbase/blob/branch-1/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionManager.java#L1340-L1344].]
>  This is a non-recoverable exception, so retries will fail and it will 
> eventually bubble up.
> The immediate fix when encountering this is to run {{{}hbck2 fixMeta{}}}, but 
> we should fix the hbase 1.x client to similarly filter on the CATALOG_FAMILY 
> to avoid these issues altogether.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to