[hbase] ConcurrentModificationException doing get of all region start keys
--------------------------------------------------------------------------
Key: HADOOP-2309
URL: https://issues.apache.org/jira/browse/HADOOP-2309
Project: Hadoop
Issue Type: Bug
Components: contrib/hbase
Reporter: stack
Priority: Minor
Reported by Paul Saab:
{code}
I'm getting the following exception when getting the start key from every
table. If I try to grab it again, it will succeed. Is this a bug or do you
need to catch these sort of exceptions in my code?...
Looking for key: img529/6013/46da7e3f111daje2.jpg
Exception in thread "main" java.io.IOException: java.io.IOException:
java.util.ConcurrentModificationException
at java.util.TreeMap$NavigableSubMap$SubMapIterator.nextEntry
(TreeMap.java:1572)
at
java.util.TreeMap$NavigableSubMap$SubMapEntryIterator.next(TreeMap.java:1620)
at
java.util.TreeMap$NavigableSubMap$SubMapEntryIterator.next(TreeMap.java:1614)
at org.apache.hadoop.hbase.HStore$Memcache.internalGet (HStore.java:223)
at org.apache.hadoop.hbase.HStore$Memcache.get(HStore.java:152)
at org.apache.hadoop.hbase.HStore.get(HStore.java:1490)
at org.apache.hadoop.hbase.HRegion.get(HRegion.java:1002)
at org.apache.hadoop.hbase.HRegion.get(HRegion.java:959)
at org.apache.hadoop.hbase.HRegionServer.get(HRegionServer.java:1233)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:379)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java :596)
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.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java
:82)
at org.apache.hadoop.hbase.HTable.get(HTable.java:202)
at us.imageshack.hbase.ListRegions.run(ListRegions.java:25)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at us.imageshack.hbase.ListRegions.main (ListRegions.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.