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

Master code is not setting the table in ENABLING state in create table

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      Unit test logs are filled with the following, because in master, unlike branch-1, we are missing the code which sets the table in ENABLING mode before assignment in CreateTableProcedure.

      2016-06-10 17:48:15,832 ERROR [B.defaultRpcServer.handler=0,queue=0,port=60448] master.TableStateManager(134): Unable to get table testRegionCache state
      org.apache.hadoop.hbase.TableNotFoundException: testRegionCache
      	at org.apache.hadoop.hbase.master.TableStateManager.getTableState(TableStateManager.java:174)
      	at org.apache.hadoop.hbase.master.TableStateManager.isTableState(TableStateManager.java:131)
      	at org.apache.hadoop.hbase.master.AssignmentManager.onRegionOpen(AssignmentManager.java:2320)
      	at org.apache.hadoop.hbase.master.AssignmentManager.onRegionTransition(AssignmentManager.java:2900)
      	at org.apache.hadoop.hbase.master.MasterRpcServices.reportRegionStateTransition(MasterRpcServices.java:1334)
      	at org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos$RegionServerStatusService$2.callBlockingMethod(RegionServerStatusProtos.java:8623)
      	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2273)
      	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:116)
      	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:138)
      	at org.apache.hadoop.hbase.ipc.RpcExecutor$2.run(RpcExecutor.java:113)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        1. hbase-16053_v1.patch
          1.0 kB
          Enis Soztutar

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment