Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1198

Hazelcast exception: Current thread is not owner of the lock!

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      commit 6e192436b48c97b15e7484e3328a184c25fa10c8

      Description

      Probably harmless, but we should investigate. I only started seeing this in the last day or so. This seems to happen when nodes leave the cluster

      2015-02-26 16:16:13,141 | INFO  | .cached.thread-3 | ClusterService                   | 54 - com.hazelcast - 3.4.0 | [10.128.30.13]:5701 [HA] [3.4] Master Address[10.128.30.12]:5701 left the cluster. Assigning new master Member [10.128.30.13]:5701 this
      2015-02-26 16:16:13,142 | INFO  | .cached.thread-3 | ClusterService                   | 54 - com.hazelcast - 3.4.0 | [10.128.30.13]:5701 [HA] [3.4] Removing Member [10.128.30.12]:5701
      2015-02-26 16:16:13,151 | INFO  | nce_1_HA.event-2 | DistributedClusterStore          | 161 - org.onosproject.onos-core-dist - 1.1.0.SNAPSHOT | Member Member [10.128.30.12]:5701 removed
      2015-02-26 16:16:13,151 | INFO  | .cached.thread-3 | ClusterService                   | 54 - com.hazelcast - 3.4.0 | [10.128.30.13]:5701 [HA] [3.4]
      
      Members [5] {
              Member [10.128.30.13]:5701 this
              Member [10.128.30.14]:5701
              Member [10.128.30.15]:5701
              Member [10.128.30.16]:5701
              Member [10.128.30.17]:5701
      }
      
      2015-02-26 16:16:13,151 | INFO  | event-dispatch-0 | MastershipManager                | 159 - org.onosproject.onos-core-net - 1.1.0.SNAPSHOT | instance DefaultControllerNode{id=10.128.30.12, ip=10.128.30.12, tcpPort=9876} removed/deactivated
      2015-02-26 16:16:13,339 | INFO  | oject.election-1 | HazelcastLeadershipService       | 161 - org.onosproject.onos-core-dist - 1.1.0.SNAPSHOT | Leader Elected for topic org.onosproject.election
      2015-02-26 16:16:13,342 | INFO  | .thread-Acceptor | SocketAcceptor                   | 54 - com.hazelcast - 3.4.0 | [10.128.30.13]:5701 [HA] [3.4] Accepting socket connection from /10.128.30.11:42152
      2015-02-26 16:16:13,356 | INFO  | .cached.thread-1 | TcpIpConnectionManager           | 54 - com.hazelcast - 3.4.0 | [10.128.30.13]:5701 [HA] [3.4] Established socket connection between /10.128.30.13:5701 and 10.128.30.11/10.128.30.11:42152
      2015-02-26 16:16:14,029 | ERROR | eration.thread-0 | UnlockOperation                  | 54 - com.hazelcast - 3.4.0 | [10.128.30.13]:5701 [HA] [3.4] Current thread is not owner of the lock! -> <not-locked>
      java.lang.IllegalMonitorStateException: Current thread is not owner of the lock! -> <not-locked>
              at com.hazelcast.concurrent.lock.operations.UnlockOperation.ensureUnlocked(UnlockOperation.java:71)[54:com.hazelcast:3.4.0]
              at com.hazelcast.concurrent.lock.operations.UnlockOperation.unlock(UnlockOperation.java:65)[54:com.hazelcast:3.4.0]
              at com.hazelcast.concurrent.lock.operations.UnlockOperation.run(UnlockOperation.java:57)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationService$OperationHandler.handle(BasicOperationService.java:733)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationService$OperationHandler.access$500(BasicOperationService.java:709)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationService$OperationPacketHandler.handle(BasicOperationService.java:683)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationService$OperationPacketHandler.handle(BasicOperationService.java:627)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationService$OperationPacketHandler.access$1500(BasicOperationService.java:614)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationService$BasicDispatcherImpl.dispatch(BasicOperationService.java:566)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationScheduler$OperationThread.process(BasicOperationScheduler.java:466)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationScheduler$OperationThread.doRun(BasicOperationScheduler.java:458)[54:com.hazelcast:3.4.0]
              at com.hazelcast.spi.impl.BasicOperationScheduler$OperationThread.run(BasicOperationScheduler.java:432)[54:com.hazelcast:3.4.0]
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            y-higuchi Yuta Higuchi
            Reporter:
            jhall Jon Hall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: