[JBoss JIRA] (ISPN-4545) Checkstyle line termination check should work on Windows
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/ISPN-4545?page=com.atlassian.jira.plugin.... ]
Ion Savin updated ISPN-4545:
----------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2734
> Checkstyle line termination check should work on Windows
> --------------------------------------------------------
>
> Key: ISPN-4545
> URL: https://issues.jboss.org/browse/ISPN-4545
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Affects Versions: 7.0.0.Alpha5
> Reporter: Ion Savin
> Assignee: Ion Savin
>
> Currently it fails when running on Windows:
> [08:51:22][org.infinispan:infinispan-checkstyle] [INFO] --- maven-checkstyle-plugin:2.10:checkstyle (check-style) @ infinispan-checkstyle ---
> [08:51:25][org.infinispan:infinispan-checkstyle] [INFO] Starting audit...
> [08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\checks\regexp\IllegalImport.java:67: Only one new line is allowed at the end of a file
> [08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\filters\ExcludeTestPackages.java:40: Only one new line is allowed at the end of a file
> [08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\filters\HeadersNoCopyrightCheck.java:35: Only one new line is allowed at the end of a file
> [08:51:25][org.infinispan:infinispan-checkstyle] Audit done.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (ISPN-4545) Checkstyle line termination check should work on Windows
by Ion Savin (JIRA)
[ https://issues.jboss.org/browse/ISPN-4545?page=com.atlassian.jira.plugin.... ]
Ion Savin updated ISPN-4545:
----------------------------
Affects Version/s: 7.0.0.Alpha5
> Checkstyle line termination check should work on Windows
> --------------------------------------------------------
>
> Key: ISPN-4545
> URL: https://issues.jboss.org/browse/ISPN-4545
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Affects Versions: 7.0.0.Alpha5
> Reporter: Ion Savin
> Assignee: Ion Savin
>
> Currently it fails when running on Windows:
> [08:51:22][org.infinispan:infinispan-checkstyle] [INFO] --- maven-checkstyle-plugin:2.10:checkstyle (check-style) @ infinispan-checkstyle ---
> [08:51:25][org.infinispan:infinispan-checkstyle] [INFO] Starting audit...
> [08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\checks\regexp\IllegalImport.java:67: Only one new line is allowed at the end of a file
> [08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\filters\ExcludeTestPackages.java:40: Only one new line is allowed at the end of a file
> [08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\filters\HeadersNoCopyrightCheck.java:35: Only one new line is allowed at the end of a file
> [08:51:25][org.infinispan:infinispan-checkstyle] Audit done.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (ISPN-4545) Checkstyle line termination check should work on Windows
by Ion Savin (JIRA)
Ion Savin created ISPN-4545:
-------------------------------
Summary: Checkstyle line termination check should work on Windows
Key: ISPN-4545
URL: https://issues.jboss.org/browse/ISPN-4545
Project: Infinispan
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Ion Savin
Assignee: Ion Savin
Currently it fails when running on Windows:
[08:51:22][org.infinispan:infinispan-checkstyle] [INFO] --- maven-checkstyle-plugin:2.10:checkstyle (check-style) @ infinispan-checkstyle ---
[08:51:25][org.infinispan:infinispan-checkstyle] [INFO] Starting audit...
[08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\checks\regexp\IllegalImport.java:67: Only one new line is allowed at the end of a file
[08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\filters\ExcludeTestPackages.java:40: Only one new line is allowed at the end of a file
[08:51:25][org.infinispan:infinispan-checkstyle] C:\BuildAgent\work\masterjdk7\checkstyle\src\main\java\org\infinispan\checkstyle\filters\HeadersNoCopyrightCheck.java:35: Only one new line is allowed at the end of a file
[08:51:25][org.infinispan:infinispan-checkstyle] Audit done.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (ISPN-4512) CacheManagerTest.testCacheManagerRestartReusingConfigurations random failures
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-4512?page=com.atlassian.jira.plugin.... ]
William Burns commented on ISPN-4512:
-------------------------------------
Getting a heap dump when the error occurs I can see multiple GlobalMarshallers referencing the same VersionAwareMarshaller, so it appears it got shared between caches and the shutdown of the one caused an issue with it not initializing in the other.
> CacheManagerTest.testCacheManagerRestartReusingConfigurations random failures
> -----------------------------------------------------------------------------
>
> Key: ISPN-4512
> URL: https://issues.jboss.org/browse/ISPN-4512
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core, Test Suite - Core
> Affects Versions: 7.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: William Burns
> Priority: Blocker
> Labels: testsuite_stability
> Fix For: 7.0.0.Beta1
>
> Attachments: CacheManagerTest_t_ISPN-4154_failing_elasticity_test_20140707.log.gz
>
>
> When a new cache manager is started with the same configuration, it uses the JGroupsTransport instance. In some rare cases, the JGroupsTransport keeps using the old marshaller, which doesn't work, and the cache fails to start:
> {noformat}
> 23:54:08,203 TRACE (testng-CacheManagerTest:___defaultcache) [JGroupsTransport] dests=[NodeB-24139], command=CacheTopologyControlCommand{cache=___defaultcache, type=JOIN, sender=NodeA-33664, joinInfo=CacheJoinInfo{consistentHashFactory=org.infinispan.distribution.ch.impl.ReplicatedConsistentHashFactory@b8c8791, hashFunction=MurmurHash3, numSegments=60, numOwners=2, timeout=240000, totalOrder=false, distributed=false}, topologyId=0, currentCH=null, pendingCH=null, throwable=null, viewId=3}, mode=SYNCHRONOUS, timeout=240000
> 23:54:08,207 DEBUG (testng-CacheManagerTest:___defaultcache) [VersionAwareMarshaller] Object is not serializable
> java.io.NotSerializableException: org.infinispan.topology.CacheTopologyControlCommand
> at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:890)
> at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58)
> at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111)
> at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.objectToObjectStream(AbstractJBossMarshaller.java:73)
> at org.infinispan.marshall.core.VersionAwareMarshaller.objectToBuffer(VersionAwareMarshaller.java:77)
> at org.infinispan.commons.marshall.AbstractMarshaller.objectToBuffer(AbstractMarshaller.java:41)
> at org.infinispan.commons.marshall.AbstractDelegatingMarshaller.objectToBuffer(AbstractDelegatingMarshaller.java:85)
> at org.infinispan.remoting.transport.jgroups.MarshallerAdapter.objectToBuffer(MarshallerAdapter.java:23)
> at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.marshallCall(CommandAwareRpcDispatcher.java:335)
> at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.processSingleCall(CommandAwareRpcDispatcher.java:352)
> at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.invokeRemoteCommand(CommandAwareRpcDispatcher.java:165)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.invokeRemotely(JGroupsTransport.java:526)
> at org.infinispan.topology.LocalTopologyManagerImpl.executeOnCoordinator(LocalTopologyManagerImpl.java:290)
> at org.infinispan.topology.LocalTopologyManagerImpl.join(LocalTopologyManagerImpl.java:100)
> at org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:104)
> {noformat}
> The only test that does this is CacheManagerTest.testCacheManagerRestartReusingConfigurations.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (ISPN-4485) Remote non-indexed query fails if compat mode enabled
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-4485?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-4485:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Remote non-indexed query fails if compat mode enabled
> -----------------------------------------------------
>
> Key: ISPN-4485
> URL: https://issues.jboss.org/browse/ISPN-4485
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Remote Querying
> Affects Versions: 7.0.0.Alpha4
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Labels: 630
> Fix For: 7.0.0.Beta1
>
>
> NonIndexedEmbeddedCompatTest.testRemoteQuery fails:
> {quote}
> 2014-07-07 12:33:40,333 ERROR [HotRodDecoder] (HotRodServerWorker-12-1) ISPN005003: Exception reported
> java.lang.IllegalStateException: Unknown entity name sample_bank_account.Account
> at org.infinispan.objectfilter.impl.hql.FilterQueryResolverDelegate.registerPersisterSpace(FilterQueryResolverDelegate.java:47)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.entityName(GeneratedHQLResolver.java:12729)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.persisterSpaceRoot(GeneratedHQLResolver.java:3064)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.persisterSpace(GeneratedHQLResolver.java:2956)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.persisterSpaces(GeneratedHQLResolver.java:2893)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.fromClause(GeneratedHQLResolver.java:2803)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.selectFrom(GeneratedHQLResolver.java:2704)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.querySpec(GeneratedHQLResolver.java:2182)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.queryExpression(GeneratedHQLResolver.java:2106)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.queryStatement(GeneratedHQLResolver.java:1745)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.queryStatementSet(GeneratedHQLResolver.java:1658)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.statement(GeneratedHQLResolver.java:654)
> at org.hibernate.hql.ast.spi.QueryResolverProcessor.process(QueryResolverProcessor.java:52)
> at org.hibernate.hql.QueryParser.parseQuery(QueryParser.java:82)
> at org.infinispan.objectfilter.impl.BaseMatcher.parse(BaseMatcher.java:200)
> at org.infinispan.objectfilter.impl.BaseMatcher.getObjectFilter(BaseMatcher.java:91)
> at org.infinispan.objectfilter.impl.ReflectionMatcher.getObjectFilter(ReflectionMatcher.java:19)
> at org.infinispan.query.dsl.embedded.impl.FilterAndConverter.getObjectFilter(FilterAndConverter.java:68)
> at org.infinispan.query.dsl.embedded.impl.EmbeddedQuery.<init>(EmbeddedQuery.java:51)
> at org.infinispan.query.remote.QueryFacadeImpl.executeNonIndexedQuery(QueryFacadeImpl.java:83)
> at org.infinispan.query.remote.QueryFacadeImpl.query(QueryFacadeImpl.java:70)
> at org.infinispan.server.hotrod.Decoder2x$.customReadKey(Decoder2x.scala:297)
> at org.infinispan.server.hotrod.HotRodDecoder.customDecodeKey(HotRodDecoder.scala:155)
> at org.infinispan.server.core.AbstractProtocolDecoder.org$infinispan$server$core$AbstractProtocolDecoder$$decodeKey(AbstractProtocolDecoder.scala:170)
> at org.infinispan.server.core.AbstractProtocolDecoder.decodeDispatch(AbstractProtocolDecoder.scala:71)
> at org.infinispan.server.core.AbstractProtocolDecoder.decode(AbstractProtocolDecoder.scala:61)
> at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:362)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)
> at org.infinispan.server.core.AbstractProtocolDecoder.channelRead(AbstractProtocolDecoder.scala:471)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350)
> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
> at java.lang.Thread.run(Thread.java:745)
> 2014-07-07 12:33:40,335 ERROR [HotRodDecoder] (HotRodServerWorker-12-1) ISPN005009: Unexpected error before any request parameters read
> io.netty.handler.codec.DecoderException: org.infinispan.server.hotrod.HotRodException: java.lang.IllegalStateException: Unknown entity name sample_bank_account.Account
> at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:417)
> at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149)
> at org.infinispan.server.core.AbstractProtocolDecoder.channelRead(AbstractProtocolDecoder.scala:471)
> at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
> at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
> at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
> at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
> at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
> at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350)
> at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.infinispan.server.hotrod.HotRodException: java.lang.IllegalStateException: Unknown entity name sample_bank_account.Account
> at org.infinispan.server.hotrod.HotRodDecoder.createServerException(HotRodDecoder.scala:204)
> at org.infinispan.server.core.AbstractProtocolDecoder.decodeDispatch(AbstractProtocolDecoder.scala:77)
> at org.infinispan.server.core.AbstractProtocolDecoder.decode(AbstractProtocolDecoder.scala:61)
> at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:362)
> ... 12 more
> Caused by: java.lang.IllegalStateException: Unknown entity name sample_bank_account.Account
> at org.infinispan.objectfilter.impl.hql.FilterQueryResolverDelegate.registerPersisterSpace(FilterQueryResolverDelegate.java:47)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.entityName(GeneratedHQLResolver.java:12729)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.persisterSpaceRoot(GeneratedHQLResolver.java:3064)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.persisterSpace(GeneratedHQLResolver.java:2956)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.persisterSpaces(GeneratedHQLResolver.java:2893)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.fromClause(GeneratedHQLResolver.java:2803)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.selectFrom(GeneratedHQLResolver.java:2704)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.querySpec(GeneratedHQLResolver.java:2182)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.queryExpression(GeneratedHQLResolver.java:2106)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.queryStatement(GeneratedHQLResolver.java:1745)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.queryStatementSet(GeneratedHQLResolver.java:1658)
> at org.hibernate.hql.ast.origin.hql.resolve.GeneratedHQLResolver.statement(GeneratedHQLResolver.java:654)
> at org.hibernate.hql.ast.spi.QueryResolverProcessor.process(QueryResolverProcessor.java:52)
> at org.hibernate.hql.QueryParser.parseQuery(QueryParser.java:82)
> at org.infinispan.objectfilter.impl.BaseMatcher.parse(BaseMatcher.java:200)
> at org.infinispan.objectfilter.impl.BaseMatcher.getObjectFilter(BaseMatcher.java:91)
> at org.infinispan.objectfilter.impl.ReflectionMatcher.getObjectFilter(ReflectionMatcher.java:19)
> at org.infinispan.query.dsl.embedded.impl.FilterAndConverter.getObjectFilter(FilterAndConverter.java:68)
> at org.infinispan.query.dsl.embedded.impl.EmbeddedQuery.<init>(EmbeddedQuery.java:51)
> at org.infinispan.query.remote.QueryFacadeImpl.executeNonIndexedQuery(QueryFacadeImpl.java:83)
> at org.infinispan.query.remote.QueryFacadeImpl.query(QueryFacadeImpl.java:70)
> at org.infinispan.server.hotrod.Decoder2x$.customReadKey(Decoder2x.scala:297)
> at org.infinispan.server.hotrod.HotRodDecoder.customDecodeKey(HotRodDecoder.scala:155)
> at org.infinispan.server.core.AbstractProtocolDecoder.org$infinispan$server$core$AbstractProtocolDecoder$$decodeKey(AbstractProtocolDecoder.scala:170)
> at org.infinispan.server.core.AbstractProtocolDecoder.decodeDispatch(AbstractProtocolDecoder.scala:71)
> ... 14 more
> 2014-07-07 12:33:40,338 WARN [Codec20] (main) ISPN004005: Error received from the server: io.netty.handler.codec.DecoderException: org.infinispan.server.hotrod.HotRodException: java.lang.IllegalStateException: Unknown entity name sample_bank_account.Account
> org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[18] returned server error (status=0x85): io.netty.handler.codec.DecoderException: org.infinispan.server.hotrod.HotRodException: java.lang.IllegalStateException: Unknown entity name sample_bank_account.Account
> at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:285)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:85)
> at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:71)
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
> at org.infinispan.client.hotrod.impl.operations.QueryOperation.executeOperation(QueryOperation.java:57)
> at org.infinispan.client.hotrod.impl.operations.QueryOperation.executeOperation(QueryOperation.java:24)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:49)
> at org.infinispan.client.hotrod.impl.query.RemoteQuery.executeQuery(RemoteQuery.java:72)
> at org.infinispan.client.hotrod.impl.query.RemoteQuery.list(RemoteQuery.java:62)
> at org.infinispan.client.hotrod.marshall.EmbeddedCompatTest.testRemoteQuery(EmbeddedCompatTest.java:137)
> at org.infinispan.client.hotrod.marshall.NonIndexedEmbeddedCompatTest.testRemoteQuery(NonIndexedEmbeddedCompatTest.java:34)
> {quote}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months