hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Kellerman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException
Date Wed, 09 May 2007 15:52:15 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494516
] 

Jim Kellerman commented on HADOOP-1341:
---------------------------------------

Hairong,

I am unable to reproduce the problem building either 0.13 or trunk. 0.12.3 does not contain
HBase at all.

Do you have non-default settings in src/contrib/test/hadoop-site.xml,  src/contrib/test/mapred-default.xml,
 conf/hadoop-site.xml or conf/mapred-default.xml ?

TestHBaseCluster takes between 180 to 190 seconds to run on my MacBook Pro Core 2 Duo running
Fedora Core 6. If you have set a test timeout, and the test was killed during the run, I can
understand why you might see this problem.

TestHBaseCluster runs a MiniHBaseCluster on top of a MiniDFSCluster which makes for a lot
of threads running during the test. It absolutely pegs both of the CPUs on my machine.

Any additional information you could provide about your environment would be helpful.

Thanks.

-Jim

> 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.


Mime
View raw message