hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11988) AC/VC system table create on postStartMaster fails too often in test
Date Wed, 17 Sep 2014 02:21:34 GMT

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

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

During master start the ns table create time we wait for the table region to be available
in online regions. We wait till then. As I said, IMO we must wait for region ENABLED also.
(There is a gap btw this getting marked enabled in master data structures)   But again these
waits are timeout based.  So still there is some chance that the time out elapsed and master
continue with its start with out waiting for NS. Then the AC/VC startup will fail create their
tables.!   That is because of check in HMaster#createTable() where we just try to see the
specified ns is valid or not. Well IMO we can skip this part also when the specified ns is
system/default. Those are system based and will be there always.   

> AC/VC system table create on postStartMaster fails too often in test
> --------------------------------------------------------------------
>
>                 Key: HBASE-11988
>                 URL: https://issues.apache.org/jira/browse/HBASE-11988
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>            Priority: Critical
>         Attachments: 11988.debug.txt
>
>
> See for example
> {noformat}
> 2014-09-16 04:02:08,833 ERROR [ActiveMasterManager] master.HMaster(633): Coprocessor
postStartMaster() hook failed
> java.io.IOException: Table Namespace Manager not ready yet, try again later
> 	at org.apache.hadoop.hbase.master.HMaster.checkNamespaceManagerReady(HMaster.java:1669)
> 	at org.apache.hadoop.hbase.master.HMaster.getNamespaceDescriptor(HMaster.java:1852)
> 	at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1096)
> 	at org.apache.hadoop.hbase.security.access.AccessControlLists.init(AccessControlLists.java:143)
> 	at org.apache.hadoop.hbase.security.access.AccessController.postStartMaster(AccessController.java:1059)
> 	at org.apache.hadoop.hbase.master.MasterCoprocessorHost$58.call(MasterCoprocessorHost.java:692)
> 	at org.apache.hadoop.hbase.master.MasterCoprocessorHost.execOperation(MasterCoprocessorHost.java:861)
> 	at org.apache.hadoop.hbase.master.MasterCoprocessorHost.postStartMaster(MasterCoprocessorHost.java:688)
> 	at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:631)
> 	at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:155)
> 	at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1244)
> 	at java.lang.Thread.run(Thread.java:744)
> {noformat}



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

Mime
View raw message