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

Anoop Sam John commented on HBASE-5583:
---------------------------------------

Ram
       Started going through the patch. It looks so big change but is it 
really? There generated file is fully rewritten!
ZooKeeper.proto
{code}
ENABLING = 3;
+    CREATINGTABLE = 4;
{code}
Can we make CREATINGTABLE -> CREATING?

{code}
+  enum State {
+    CREATED_TD = 0;
+    CREATED_REGIONINFO = 1;
+    MOVED_TO_ORIG_LOCATION = 2;
+    ADD_TO_META = 3;
+    ASSIGN_USER_REGIONS = 4;
+    DONE = 4;
+  }
{code}
Repeated ordinal. Typo?
Will continue..
                
> Master restart on create table with splitkeys does not recreate table with 
> all the splitkey regions
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5583
>                 URL: https://issues.apache.org/jira/browse/HBASE-5583
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.95.0
>
>         Attachments: HBASE-5583_new_1.patch
>
>
> -> Create table using splitkeys
> -> MAster goes down before all regions are added to meta
> -> On master restart the table is again enabled but with less number of 
> regions than specified in splitkeys
> Anyway client will get an exception if i had called sync create table.  But 
> table exists or not check will say table exists. 
> Is this scenario to be handled by client only or can we have some mechanism 
> on the master side for this? Pls suggest.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to