[JBoss JIRA] (ISPN-6685) Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6685?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6685:
------------------------------------
Fix Version/s: 9.0.0.Alpha3
8.2.3.Final
> Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
> ----------------------------------------------------------------------------
>
> Key: ISPN-6685
> URL: https://issues.jboss.org/browse/ISPN-6685
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Critical
> Fix For: 9.0.0.Alpha3, 8.2.3.Final
>
> Attachments: server.log
>
>
> This occurs intermittently during the Spark connector testsuite, that starts 3 servers in parallel. The HotRod server fails to start with error:
> {noformat}
> 2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("hotrod-connector" => "hotrod-connector")
> ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
> Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: java.lang.NullPointerException"}}
> 2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6685) Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6685?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6685:
------------------------------------
Priority: Critical (was: Major)
> Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
> ----------------------------------------------------------------------------
>
> Key: ISPN-6685
> URL: https://issues.jboss.org/browse/ISPN-6685
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Critical
> Attachments: server.log
>
>
> This occurs intermittently during the Spark connector testsuite, that starts 3 servers in parallel. The HotRod server fails to start with error:
> {noformat}
> 2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("hotrod-connector" => "hotrod-connector")
> ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
> Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: java.lang.NullPointerException"}}
> 2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (HRJS-12) java.io.EOFException is thrown in case when executing javascript which puts into cache unicode symbols
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/HRJS-12?page=com.atlassian.jira.plugin.sy... ]
Galder Zamarreño updated HRJS-12:
---------------------------------
Affects Version/s: 0.2.0
> java.io.EOFException is thrown in case when executing javascript which puts into cache unicode symbols
> ------------------------------------------------------------------------------------------------------
>
> Key: HRJS-12
> URL: https://issues.jboss.org/browse/HRJS-12
> Project: Infinispan Javascript client
> Issue Type: Bug
> Affects Versions: 0.2.0
> Reporter: Anna Manukyan
> Assignee: Galder Zamarreño
> Fix For: 0.3.0
>
>
> An exception is thrown when executing the script on the server using JS Client and the script tries to put into the cache unicode symbols. The issue appears for both local and distributed modes.
> The code is:
> {code}
> // mode=local,language=javascript,datatype='text/plain; charset=utf-8'
> cache.put("բարեվ", "բարեվ");
> cache.get("բարեվ");
> {code}
> The exception is:
> {{15:53:30,947 ERROR [org.infinispan.server.hotrod.HotRodEncoder] (HotRodServerWorker-6-3) ISPN005022: Exception writing response with messageId=92: java.lang.ClassCastException: java.lang.String cannot be cast to [B
> at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:364)
> at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:343)
> at scala.collection.immutable.List.foreach(List.scala:381)
> at org.infinispan.server.hotrod.Encoder2x$.writeResponse(Encoder2x.scala:343)
> at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:45)
> at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
> at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:619)
> at io.netty.channel.AbstractChannelHandlerContext.access$1800(AbstractChannelHandlerContext.java:32)
> at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:904)
> at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:956)
> at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:889)
> at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> at java.lang.Thread.run(Thread.java:745)
> }}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (HRJS-12) java.io.EOFException is thrown in case when executing javascript which puts into cache unicode symbols
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/HRJS-12?page=com.atlassian.jira.plugin.sy... ]
Galder Zamarreño updated HRJS-12:
---------------------------------
Fix Version/s: 0.3.0
> java.io.EOFException is thrown in case when executing javascript which puts into cache unicode symbols
> ------------------------------------------------------------------------------------------------------
>
> Key: HRJS-12
> URL: https://issues.jboss.org/browse/HRJS-12
> Project: Infinispan Javascript client
> Issue Type: Bug
> Affects Versions: 0.2.0
> Reporter: Anna Manukyan
> Assignee: Galder Zamarreño
> Fix For: 0.3.0
>
>
> An exception is thrown when executing the script on the server using JS Client and the script tries to put into the cache unicode symbols. The issue appears for both local and distributed modes.
> The code is:
> {code}
> // mode=local,language=javascript,datatype='text/plain; charset=utf-8'
> cache.put("բարեվ", "բարեվ");
> cache.get("բարեվ");
> {code}
> The exception is:
> {{15:53:30,947 ERROR [org.infinispan.server.hotrod.HotRodEncoder] (HotRodServerWorker-6-3) ISPN005022: Exception writing response with messageId=92: java.lang.ClassCastException: java.lang.String cannot be cast to [B
> at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:364)
> at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:343)
> at scala.collection.immutable.List.foreach(List.scala:381)
> at org.infinispan.server.hotrod.Encoder2x$.writeResponse(Encoder2x.scala:343)
> at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:45)
> at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
> at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:619)
> at io.netty.channel.AbstractChannelHandlerContext.access$1800(AbstractChannelHandlerContext.java:32)
> at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:904)
> at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:956)
> at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:889)
> at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> at java.lang.Thread.run(Thread.java:745)
> }}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (HRJS-12) java.io.EOFException is thrown in case when executing javascript which puts into cache unicode symbols
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/HRJS-12?page=com.atlassian.jira.plugin.sy... ]
Galder Zamarreño resolved HRJS-12.
----------------------------------
Resolution: Done
> java.io.EOFException is thrown in case when executing javascript which puts into cache unicode symbols
> ------------------------------------------------------------------------------------------------------
>
> Key: HRJS-12
> URL: https://issues.jboss.org/browse/HRJS-12
> Project: Infinispan Javascript client
> Issue Type: Bug
> Affects Versions: 0.2.0
> Reporter: Anna Manukyan
> Assignee: Galder Zamarreño
> Fix For: 0.3.0
>
>
> An exception is thrown when executing the script on the server using JS Client and the script tries to put into the cache unicode symbols. The issue appears for both local and distributed modes.
> The code is:
> {code}
> // mode=local,language=javascript,datatype='text/plain; charset=utf-8'
> cache.put("բարեվ", "բարեվ");
> cache.get("բարեվ");
> {code}
> The exception is:
> {{15:53:30,947 ERROR [org.infinispan.server.hotrod.HotRodEncoder] (HotRodServerWorker-6-3) ISPN005022: Exception writing response with messageId=92: java.lang.ClassCastException: java.lang.String cannot be cast to [B
> at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:364)
> at org.infinispan.server.hotrod.Encoder2x$$anonfun$writeResponse$9.apply(Encoder2x.scala:343)
> at scala.collection.immutable.List.foreach(List.scala:381)
> at org.infinispan.server.hotrod.Encoder2x$.writeResponse(Encoder2x.scala:343)
> at org.infinispan.server.hotrod.HotRodEncoder.encode(HotRodEncoder.scala:45)
> at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
> at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:619)
> at io.netty.channel.AbstractChannelHandlerContext.access$1800(AbstractChannelHandlerContext.java:32)
> at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:904)
> at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:956)
> at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:889)
> at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:374)
> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
> at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
> at java.lang.Thread.run(Thread.java:745)
> }}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6688) PreferAvailabilityStrategy: Improve selection of segment owners after merge
by Dan Berindei (JIRA)
Dan Berindei created ISPN-6688:
----------------------------------
Summary: PreferAvailabilityStrategy: Improve selection of segment owners after merge
Key: ISPN-6688
URL: https://issues.jboss.org/browse/ISPN-6688
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 8.2.2.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 9.0.0.Alpha3, 9.0.0.Final
{{PreferAvailabilityStrategy}} picks a winning CH after merge, but that CH is very likely to be the wrong one. We should improve our odds at preserving cache data by mixing CHs, and keeping from each node's response only the information about the segments it owns itself.
The downside is that {{PreferAvailabilityStrategy}} becomes tightly coupled with {{DefaultConsistentHash}}/{{ReplicatedConsistentHash}}, and users that want to add custom {{ConsistentHash}} implementations will have to re-implement {{PreferAvailabilityStrategy}}.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6686) Improve fluidity of persistent store configuration builders
by Krzysztof Sobolewski (JIRA)
[ https://issues.jboss.org/browse/ISPN-6686?page=com.atlassian.jira.plugin.... ]
Krzysztof Sobolewski updated ISPN-6686:
---------------------------------------
Git Pull Request: https://github.com/infinispan/infinispan/pull/4362
> Improve fluidity of persistent store configuration builders
> -----------------------------------------------------------
>
> Key: ISPN-6686
> URL: https://issues.jboss.org/browse/ISPN-6686
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration, Loaders and Stores
> Affects Versions: 8.2.2.Final
> Reporter: Krzysztof Sobolewski
>
> Configuration of cache stores has some fluidity issues. I'd like to do:
> {code:java}
> ConfigurationBuilder builder = ...;
> builder
> .persistence()
> .addStore(JdbcStringBasedStoreConfigurationBuilder.class)
> .dialect(...)
> .table() // <- compilation error
> ...
> .connectionPool() // <- compilation error
> ...;
> {code}
> but I'm forced to do:
> {code:java}
> ConfigurationBuilder builder = ...;
> JdbcStringBasedStoreConfigurationBuilder store = builder
> .persistence()
> .addStore(JdbcStringBasedStoreConfigurationBuilder.class)
> .dialect(...);
> store
> .table()
> ...;
> store
> .connectionPool()
> ...;
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months