You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/12/24 20:43:13 UTC

[jira] [Resolved] (HBASE-1852) HConnectionManager.testTableOnlineState will get into infinite loop if more than one .META. region

     [ https://issues.apache.org/jira/browse/HBASE-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell resolved HBASE-1852.
-----------------------------------
    Resolution: Later

I'm not sure if the current code will behave the same way as code vintage of this issue, but suspect several issues with multi-region META. In any case, should we decide to support multi-region META that work and related issues should be captured by a fresh issue. Resolving this as Later

> HConnectionManager.testTableOnlineState will get into infinite loop if more than one .META. region
> --------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-1852
>                 URL: https://issues.apache.org/jira/browse/HBASE-1852
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.20.0
>         Environment: OSX/Linux
>            Reporter: Cosmin Lehene
>         Attachments: 0001-Fixed-.META.-split-bug-v2.patch, 0001-Fixed-.META.-split-bug.patch, HBASE-1852-unittest1.patch, HBaseMetaSplitIssues.java
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Create 3 tables (preferably on a clean cluster to avoid other potential issues)
> Split .META.
> From the master web inteface try to click on the first table - the page will not load and refreshing the main page will show lots of requests. 
> HBaseAdmin.testTableOnlineState will get into an infinite loop if .META. has more than one region. This method should probably use a regular scanner and an iterator. 
> I guess this issue would also happen with a single .META. region if rrs = getRegionServerWithRetries(s) would get an UnknownScannerException (from a scanner lease expiration on the region server), but I haven't double checked this.
> I attached a java method that you can use as a reference to reproduce the behavior. However, since it calls split() on .META. and that is async, you might have to run it twice and check that .META. actually splitted before getting into the infinite loop. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)