[
https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494793
]
Jim Kellerman commented on HADOOP-1341:
---------------------------------------
HBase does not access any of the .xml files directly. It uses a Configuration
object which in the test environment grabs the settings out of src//.xml
The only reason I asked was that there was previously an issue where tests were
timed out if they ran longer than a setting in the configuration. Later, that
setting was removed from the xml file, but if it was set and the test killed in
the middle, I can envision all kinds of errors emerging.
That not being the case, I'll see if I can figure out how this is happening.
If you could upload a portion of your log file while that test is running that
would be helpful in determining what part of the test this is happening in.
> TestHBaseCluster fails with IllegalMonitorStateException
> --------------------------------------------------------
>
> Key: HADOOP-1341
> URL: https://issues.apache.org/jira/browse/HADOOP-1341
> Project: Hadoop
> Issue Type: Bug
> Components: contrib/hbase
> Affects Versions: 0.12.3
> Environment: redhat
> Reporter: Hairong Kuang
> Assigned To: Jim Kellerman
> Fix For: 0.13.0
>
>
> TestHBaseCluster fails because of the following exceptions:
> [junit] 07/05/08 16:31:58 INFO ipc.Server: IPC Server handler 3 on 42335,
> call next(3659548438240671209, --META--__1//1178667102672) from
> 127.0.0.1:42391: error: java.io.IOException:
> java.lang.IllegalMonitorStateException
> [junit] java.io.IOException: java.lang.IllegalMonitorStateException
> [junit] at
> java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(ReentrantReadWriteLock.java:363)
> [junit] at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1218)
> [junit] at
> java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:745)
> [junit] at
> org.apache.hadoop.hbase.HStore$HStoreScanner.close(HStore.java:1059)
> [junit] at
> org.apache.hadoop.hbase.HRegion$HScanner.closeScanner(HRegion.java:1302)
> [junit] at
> org.apache.hadoop.hbase.HRegion$HScanner.next(HRegion.java:1279)
> [junit] at
> org.apache.hadoop.hbase.HRegionServer.next(HRegionServer.java:1076)
> [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [junit] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [junit] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
> [junit] at org.apache.hadoop.ipc.Server$Handler.run(Server.java:573)
> [junit] org.apache.hadoop.ipc.RemoteException: java.io.IOException:
> java.lang.IllegalMonitorStateException
> [junit] at
> java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(ReentrantReadWriteLock.java:363)
> [junit] at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1218)
> [junit] at
> java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:745)
> [junit] at
> org.apache.hadoop.hbase.HStore$HStoreScanner.close(HStore.java:1059)
> [junit] at
> org.apache.hadoop.hbase.HRegion$HScanner.closeScanner(HRegion.java:1302)
> [junit] at
> org.apache.hadoop.hbase.HRegion$HScanner.next(HRegion.java:1279)
> [junit] at
> org.apache.hadoop.hbase.HRegionServer.next(HRegionServer.java:1076)
> [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [junit] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [junit] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
> [junit] at org.apache.hadoop.ipc.Server$Handler.run(Server.java:573)
> [junit] at org.apache.hadoop.ipc.Client.call(Client.java:471)
> [junit] at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:165)
> [junit] at $Proxy8.next(Unknown Source)
> [junit] at
> org.apache.hadoop.hbase.HMaster$BaseScanner.scanRegion(HMaster.java:154)
> [junit] at
> org.apache.hadoop.hbase.HMaster$RootScanner.run(HMaster.java:267)
> [junit] at java.lang.Thread.run(Thread.java:619)
> [junit] 07/05/08 16:32:13 INFO ipc.Server: IPC Server handler 7 on 42333,
> call createTable(name: test, maxVersions: 3, families: [anchor:, contents:])
> from 127.0.0.1:42400: error: java.io.IOException:
> java.lang.IllegalStateException: Master not running
> [junit] java.io.IOException: java.lang.IllegalStateException: Master not
> running
> [junit] at
> org.apache.hadoop.hbase.HMaster.createTable(HMaster.java:1316)
> [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [junit] at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [junit] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [junit] at java.lang.reflect.Method.invoke(Method.java:597)
> [junit] at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:341)
> [junit] at org.apache.hadoop.ipc.Server$Handler.run(Server.java:573)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.