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

Create table fails if we keep refreshing master's UI for task monitor status

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.90.4, 0.92.0
    • Fix Version/s: None
    • Component/s: master
    • Labels:
      None

      Description

      I tried to create a table with 2K pre-split regions, region assignment was in middle and i was keep refreshing master's web UI to find the status of the task using task monitor, table creation was failed and META was showing 2K regions with server location value is null and regions weren't deployed onto region-servers.

      table_ACreating table table_A
      java.io.IOException: java.io.IOException: java.util.ConcurrentModificationException
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      	at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:95)
      	at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:79)
      	at org.apache.hadoop.hbase.client.HBaseAdmin.createTableAsync(HBaseAdmin.java:384)
      	at org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:294)
      	at com.test.tools.hbase.schema.createIfNotExists(schema.java:520)
      	at com.test.tools.hbase.schema.main(schema.java:627)
      Caused by: org.apache.hadoop.ipc.RemoteException: java.io.IOException: java.util.ConcurrentModificationException
      	at java.util.SubList.checkForComodification(AbstractList.java:752)
      	at java.util.SubList.add(AbstractList.java:632)
      	at java.util.SubList.add(AbstractList.java:633)
      	at java.util.SubList.add(AbstractList.java:633)
      	..
      	..
      	at java.util.SubList.add(AbstractList.java:633)
      	at java.util.AbstractList.add(AbstractList.java:91)
      	at org.apache.hadoop.hbase.monitoring.TaskMonitor.createStatus(TaskMonitor.java:76)
      	at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:510)
      	at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:490)
      	at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:853)
      	at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:813)
      	at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:780)
      	at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:570)
      	at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1039)
      	at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:771)
      	at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:257)
      	at $Proxy5.createTable(Unknown Source)
      	at org.apache.hadoop.hbase.client.HBaseAdmin.createTableAsync(HBaseAdmin.java:382)	
      

        Attachments

          Activity

            People

            • Assignee:
              mubarakseyed Mubarak Seyed
              Reporter:
              mubarakseyed Mubarak Seyed
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: