Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2690

Externalizer needed for TopologyAwareSyncConsistentHashFactory and TopologyAwareConsistentHashFactory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.2.0.CR2
    • 5.2.0.Beta6
    • Core
    • None

    Description

      The SyncConsistentHash doesn't implement Serializable. Any such CH factory specified in the configuration will throw an error on startup:

      2013-01-06 01:05:20,008 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Exception in thread "CacheStartThread,null,eigAllocation"
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.start() throws java.lang.Exception on object of type StateTransferManagerImpl
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:654)
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:643)
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:546)
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:199)
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.CacheImpl.start(CacheImpl.java:557)
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:689)
      2013-01-06 01:05:20,010 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:652)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.manager.DefaultCacheManager.access$100(DefaultCacheManager.java:126)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.manager.DefaultCacheManager$1.run(DefaultCacheManager.java:574)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: org.infinispan.CacheException: java.lang.RuntimeException: Failure to marshal argument(s)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.util.Util.rewrapAsCacheException(Util.java:539)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:184)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:515)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.topology.LocalTopologyManagerImpl.executeOnCoordinator(LocalTopologyManagerImpl.java:261)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.topology.LocalTopologyManagerImpl.join(LocalTopologyManagerImpl.java:101)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:117)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2013-01-06 01:05:20,011 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at java.lang.reflect.Method.invoke(Method.java:597)
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) ... 10 more
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: java.lang.RuntimeException: Failure to marshal argument(s)
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:279)
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:297)
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:177)
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) ... 19 more
      2013-01-06 01:05:20,012 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: org.infinispan.marshall.NotSerializableException: org.infinispan.distribution.ch.TopologyAwareSyncConsistentHashFactory
      2013-01-06 01:05:20,013 ERROR [STDERR] (CacheStartThread,null,eigAllocation) Caused by: an exception which occurred:
      in object org.infinispan.distribution.ch.TopologyAwareSyncConsistentHashFactory@5b6876ea
      in object org.infinispan.topology.CacheJoinInfo@16b4417d
      in object org.infinispan.topology.CacheTopologyControlCommand@31093d14

      Attachments

        Activity

          People

            esalter@synamedia.com Erik Salter (Inactive)
            esalter@synamedia.com Erik Salter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: