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

[email protected] commented on HBASE-3904:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1016/
-----------------------------------------------------------

Review request for hbase.


Summary
-------

Check is added in HBA.createTable(final HTableDescriptor desc, byte [][] 
splitKeys) to wait for the number of regions online equal to initial region 
count.
This makes HBA.createTable() synchronous.


This addresses bug HBASE-3904.
    https://issues.apache.org/jira/browse/HBASE-3904


Diffs
-----

  /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java 1141318 

Diff: https://reviews.apache.org/r/1016/diff


Testing
-------

TestAdmin passes.


Thanks,

Ted



> 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
>
>
> 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

        

Reply via email to