hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ita Pai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3904) HConnection.isTableAvailable returns true even with not all regions available.
Date Tue, 12 Jul 2011 20:13:00 GMT

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

Ita Pai updated HBASE-3904:
---------------------------

    Attachment: 3904_v6.patch

The calls in the try block don't reliably throw RegionException, so most of the time after
several retries, it would silently returns.

Attached is another version that fixed this problem, along with some minor changes to the
logic.

TestAdmin passed after applying this patch.

> HConnection.isTableAvailable returns true even with not all regions available.
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-3904
>                 URL: https://issues.apache.org/jira/browse/HBASE-3904
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>            Reporter: Vidhyashankar Venkataraman
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 3904-v3.txt, 3904-v4.txt, 3904-v5.txt, 3904.txt, 3904_v6.patch
>
>
> This function as per the java doc is supposed to return true iff "all the regions in
the table are available". But if the table is still being created this function may return
inconsistent results (For example, when a table with a large number of split keys is created).


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message