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

Reply via email to