You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mubarak Seyed (Commented) (JIRA)" <ji...@apache.org> on 2012/03/29 20:18:22 UTC
[jira] [Commented] (HBASE-5675) Create table fails if we keep
refreshing master's UI for task monitor status
[ https://issues.apache.org/jira/browse/HBASE-5675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241471#comment-13241471 ]
Mubarak Seyed commented on HBASE-5675:
--------------------------------------
I could create a table using workarounds
# Increase the RPC timeout value to 10 minutes
# Create one table at a time
# No refresh of master's web UI
> Create table fails if we keep refreshing master's UI for task monitor status
> ----------------------------------------------------------------------------
>
> Key: HBASE-5675
> URL: https://issues.apache.org/jira/browse/HBASE-5675
> Project: HBase
> Issue Type: Bug
> Components: master
> Affects Versions: 0.90.4
> Reporter: Mubarak Seyed
> Assignee: Mubarak Seyed
> Labels: noob
>
> 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.
> {code}
> 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)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira