You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2007/05/09 01:38:15 UTC

[jira] Created: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

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.


[jira] Updated: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman updated HADOOP-1341:
----------------------------------

    Status: In Progress  (was: Patch Available)

It turns out that the patch can result in thread starvation or possibly deadlock. I have a new version of HLocking.java which fixes this problem.

> 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
>
>         Attachments: hbase.log, patch.txt
>
>
> 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.


[jira] Work stopped: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HADOOP-1341 stopped by Jim Kellerman.

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


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494597 ] 

Owen O'Malley commented on HADOOP-1341:
---------------------------------------

I'm seeing the failure too. 

I do have changes in conf/*.xml, but your test cases need to ignore those. I don't have any changes in src/**/*.xml.

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


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495254 ] 

Hadoop QA commented on HADOOP-1341:
-----------------------------------

Integrated in Hadoop-Nightly #86 (See http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/86/)

> 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
>
>         Attachments: hbase.log, patch.txt, patch.txt
>
>
> 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.


[jira] Updated: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman updated HADOOP-1341:
----------------------------------

    Status: Patch Available  (was: In Progress)

> 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
>
>         Attachments: hbase.log, patch.txt, patch.txt
>
>
> 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.


[jira] Work started: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HADOOP-1341 started by Jim Kellerman.

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


[jira] Updated: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang updated HADOOP-1341:
----------------------------------

    Attachment: hbase.log

Jim, I had a failed run yesterday. I checked the log and it looks that dfs worked well. The attached file contains all the hbase related logs. Hope that it helps.

> 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
>
>         Attachments: hbase.log
>
>
> 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.


[jira] Updated: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman updated HADOOP-1341:
----------------------------------

    Attachment: patch.txt

I think this patch will solve this issue. I am going to change this issue to patch available so it will go through the next patch build. But since neither Hudson nor I can actually reproduce the problem, would it be possible for one of you who has to try it out once the patch build succeeds?

> 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
>
>         Attachments: hbase.log, patch.txt
>
>
> 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.


[jira] Updated: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman updated HADOOP-1341:
----------------------------------

    Status: Patch Available  (was: In Progress)

Test patch in patch build.

> 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
>
>         Attachments: hbase.log, patch.txt
>
>
> 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.


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494890 ] 

Hairong Kuang commented on HADOOP-1341:
---------------------------------------

+1. Works on my computer.

> 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
>
>         Attachments: hbase.log, patch.txt
>
>
> 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.


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494854 ] 

Hadoop QA commented on HADOOP-1341:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12357060/patch.txt applied and successfully tested against trunk revision r536583.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/129/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/129/console

> 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
>
>         Attachments: hbase.log, patch.txt
>
>
> 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.


[jira] Work started: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HADOOP-1341 started by Jim Kellerman.

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


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated HADOOP-1341:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this.  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
>
>         Attachments: hbase.log, patch.txt, patch.txt
>
>
> 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.


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494518 ] 

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

The test also runs successfully in the nightly Hudson builds.

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


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495144 ] 

Hadoop QA commented on HADOOP-1341:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12357129/patch.txt applied and successfully tested against trunk revision r536583.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/134/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/134/console

> 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
>
>         Attachments: hbase.log, patch.txt, patch.txt
>
>
> 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.


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494821 ] 

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

That was helpful, thanks!

I now know what is causing the problem: trying to hold a lock across multiple RPC's. You can't be guaranteed that the same proxy that took out the lock is the one that is invoked when trying to unlock the lock.

This is going to require some restructuring of how we do locking. Hopefully I can figure out something in a couple of days.

> 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
>
>         Attachments: hbase.log
>
>
> 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.


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Hairong Kuang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494596 ] 

Hairong Kuang commented on HADOOP-1341:
---------------------------------------

Jim, I wish I could provide your info. But I got the error when I ran ant test using the default configuration.

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


[jira] Assigned: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman reassigned HADOOP-1341:
-------------------------------------

    Assignee: Jim Kellerman

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


[jira] Commented: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494894 ] 

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

Thanks Hairong!

> 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
>
>         Attachments: hbase.log, patch.txt
>
>
> 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.


[jira] Updated: (HADOOP-1341) TestHBaseCluster fails with IllegalMonitorStateException

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Kellerman updated HADOOP-1341:
----------------------------------

    Attachment: patch.txt

Fixes thread starvation and/or deadlock in HLocking

> 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
>
>         Attachments: hbase.log, patch.txt, patch.txt
>
>
> 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.