hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19509) RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException
Date Wed, 13 Dec 2017 22:13:01 GMT
Ted Yu created HBASE-19509:
------------------------------

             Summary: RSGroupAdminEndpoint#preCreateTable triggers TableNotFoundException
                 Key: HBASE-19509
                 URL: https://issues.apache.org/jira/browse/HBASE-19509
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha-4
            Reporter: Ted Yu
            Priority: Minor


In a cluster where RS Group endpoint is installed, I noticed the following in master log:
{code}
2017-12-13 21:42:14,230 ERROR [RpcServer.default.FPBQ.Fifo.handler=29,queue=2,port=20000]
master.TableStateManager: Unable to get table ltt-diff state
org.apache.hadoop.hbase.TableNotFoundException: ltt-diff
        at org.apache.hadoop.hbase.master.TableStateManager.getTableState(TableStateManager.java:175)
        at org.apache.hadoop.hbase.master.TableStateManager.isTableState(TableStateManager.java:132)
        at org.apache.hadoop.hbase.master.assignment.AssignmentManager.isTableDisabled(AssignmentManager.java:345)
        at org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer.moveTables(RSGroupAdminServer.java:409)
        at org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint.assignTableToGroup(RSGroupAdminEndpoint.java:334)
        at org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint.preCreateTable(RSGroupAdminEndpoint.java:346)
        at org.apache.hadoop.hbase.master.MasterCoprocessorHost$11.call(MasterCoprocessorHost.java:319)
        at org.apache.hadoop.hbase.master.MasterCoprocessorHost$11.call(MasterCoprocessorHost.java:316)
        at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$ObserverOperationWithoutResult.callObserver(CoprocessorHost.java:599)
        at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.execOperation(CoprocessorHost.java:672)
        at org.apache.hadoop.hbase.master.MasterCoprocessorHost.preCreateTable(MasterCoprocessorHost.java:316)
        at org.apache.hadoop.hbase.master.HMaster$3.run(HMaster.java:1738)
        at org.apache.hadoop.hbase.master.procedure.MasterProcedureUtil.submitProcedure(MasterProcedureUtil.java:134)
        at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1734)
        at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:559)
{code}
It seems RSGroupAdminEndpoint#preCreateTable should take into account that the table doesn't
exist and avoid the extraneous TableNotFoundException .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message