hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-3904) HConnection.isTableAvailable returns true even with not all regions available.
Date Wed, 06 Jul 2011 18:26:24 GMT

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

jiraposter@reviews.apache.org commented on HBASE-3904:
------------------------------------------------------


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

Ship it!


- Andrew


On 2011-07-06 17:30:36, Ted Yu wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/1016/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-07-06 17:30:36)
bq.  
bq.  
bq.  Review request for hbase.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Check is added in HBA.createTable(final HTableDescriptor desc, byte [][] splitKeys) to
wait for the number of regions online equal to initial region count.
bq.  This makes HBA.createTable() synchronous.
bq.  
bq.  
bq.  This addresses bug HBASE-3904.
bq.      https://issues.apache.org/jira/browse/HBASE-3904
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java 1141318 
bq.  
bq.  Diff: https://reviews.apache.org/r/1016/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  TestAdmin passes.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Ted
bq.  
bq.



> 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

        

Mime
View raw message