Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21218

TableStateNotFoundException thrown from RSGroupAdminEndpoint#postCreateTable when creating table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: rsgroup
    • Labels:
      None

      Description

      Similar to HBASE-19509, I found the following logs in master log when creating table

      2018-09-21 15:14:47,476 ERROR [RpcServer.default.FPBQ.Fifo.handler=296,queue=26,port=16000] master.TableStateManager: Unable to get table t3 state
      org.apache.hadoop.hbase.master.TableStateManager$TableStateNotFoundException: t3
              at org.apache.hadoop.hbase.master.TableStateManager.getTableState(TableStateManager.java:215)
              at org.apache.hadoop.hbase.master.TableStateManager.isTableState(TableStateManager.java:147)
              at org.apache.hadoop.hbase.master.assignment.AssignmentManager.isTableDisabled(AssignmentManager.java:344)
              at org.apache.hadoop.hbase.rsgroup.RSGroupAdminServer.moveTables(RSGroupAdminServer.java:412)
              at org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint.assignTableToGroup(RSGroupAdminEndpoint.java:471)
              at org.apache.hadoop.hbase.rsgroup.RSGroupAdminEndpoint.postCreateTable(RSGroupAdminEndpoint.java:494)
              at org.apache.hadoop.hbase.master.MasterCoprocessorHost$12.call(MasterCoprocessorHost.java:335)
              at org.apache.hadoop.hbase.master.MasterCoprocessorHost$12.call(MasterCoprocessorHost.java:332)
              at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$ObserverOperationWithoutResult.callObserver(CoprocessorHost.java:540)
              at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.execOperation(CoprocessorHost.java:614)
              at org.apache.hadoop.hbase.master.MasterCoprocessorHost.postCreateTable(MasterCoprocessorHost.java:332)
              at org.apache.hadoop.hbase.master.HMaster$3.run(HMaster.java:1929)
              at org.apache.hadoop.hbase.master.procedure.MasterProcedureUtil.submitProcedure(MasterProcedureUtil.java:131)
              at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1911)
              at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:628)
              at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)
              at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:413)
              at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)
              at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324)
              at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)
      

      In fact, we only need to change the information of rsgroup without moving region.

        Attachments

        1. HBASE-21218.master.001.patch
          2 kB
          Guangxu Cheng

          Issue Links

            Activity

              People

              • Assignee:
                gxcheng Guangxu Cheng
                Reporter:
                gxcheng Guangxu Cheng
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: