[JBoss JIRA] (ISPN-6912) clustered-indexing.xml example configuration file in server is missing endpoints
by Martin Gencur (JIRA)
Martin Gencur created ISPN-6912:
-----------------------------------
Summary: clustered-indexing.xml example configuration file in server is missing endpoints
Key: ISPN-6912
URL: https://issues.jboss.org/browse/ISPN-6912
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.0.0.Alpha3
Reporter: Martin Gencur
Assignee: Martin Gencur
The file located at $SERVER/docs/examples/configs/clustered-indexing.xml is missing the endpoint subsystem and related socket bindings (for hotrod, rest, memcached).
The server is mainly accessed remotely so the endpoint should be available there by default.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (ISPN-6911) Add a MANUAL strategy to eviction
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-6911:
-------------------------------------
Summary: Add a MANUAL strategy to eviction
Key: ISPN-6911
URL: https://issues.jboss.org/browse/ISPN-6911
Project: Infinispan
Issue Type: Enhancement
Reporter: Tristan Tarrant
Currently the eviction configuration validation logs a warning when passivation is enabled without an eviction strategy (common with WildFly, where eviction is performed manually).
To silence an otherwise misleading error message when the user is fully aware of the behaviour, we can introduce a MANUAL strategy
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (ISPN-6911) Add a MANUAL strategy to eviction
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6911?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-6911:
-------------------------------------
Assignee: Tristan Tarrant
> Add a MANUAL strategy to eviction
> ---------------------------------
>
> Key: ISPN-6911
> URL: https://issues.jboss.org/browse/ISPN-6911
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
>
> Currently the eviction configuration validation logs a warning when passivation is enabled without an eviction strategy (common with WildFly, where eviction is performed manually).
> To silence an otherwise misleading error message when the user is fully aware of the behaviour, we can introduce a MANUAL strategy
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (ISPN-6911) Add a MANUAL strategy to eviction
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6911?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6911:
----------------------------------
Status: Open (was: New)
> Add a MANUAL strategy to eviction
> ---------------------------------
>
> Key: ISPN-6911
> URL: https://issues.jboss.org/browse/ISPN-6911
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
>
> Currently the eviction configuration validation logs a warning when passivation is enabled without an eviction strategy (common with WildFly, where eviction is performed manually).
> To silence an otherwise misleading error message when the user is fully aware of the behaviour, we can introduce a MANUAL strategy
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (ISPN-6627) ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag fails on Windows
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6627?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6627:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Alpha4
9.0.0.Final
Resolution: Done
> ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag fails on Windows
> ------------------------------------------------------------------------------
>
> Key: ISPN-6627
> URL: https://issues.jboss.org/browse/ISPN-6627
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.0.0.Alpha1
> Environment: * Windows CI machine
> Reporter: Sebastian Łaskawiec
> Assignee: Anna Manukyan
> Fix For: 9.0.0.Alpha4, 9.0.0.Final
>
>
> {{ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag}} tests fail on Windows CI.
> Link: http://ci.infinispan.org/viewLog.html?buildId=39675&tab=buildResultsDiv&b...
> Stacktrace:
> {noformat}
> ======= Failed test run #1 ==========
> java.lang.AssertionError: expected:<3209> but was:<3207>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
> at org.infinispan.scripting.ClusteredScriptingTest$6.call(ClusteredScriptingTest.java:140)
> at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1314)
> at org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag(ClusteredScriptingTest.java:127)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> ------- Stdout: -------
> [TestSuiteProgress] Test starting: org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag
> [TestSuiteProgress] Test failed: org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag
> 20:17:53,722 ERROR (testng-ClusteredScriptingTest) [TestSuiteProgress] Test failed: org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag
> java.lang.AssertionError: expected:<3209> but was:<3207>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
> at org.infinispan.scripting.ClusteredScriptingTest$6.call(ClusteredScriptingTest.java:140)
> at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1314)
> at org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag(ClusteredScriptingTest.java:127)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[TestSuiteProgress] Tests succeeded: 55, failed: 2, skipped: 0
> ======= Failed test run #2 ==========
> java.lang.AssertionError: expected:<3209> but was:<3207>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
> at org.infinispan.scripting.ClusteredScriptingTest$6.call(ClusteredScriptingTest.java:140)
> at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1314)
> at org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag(ClusteredScriptingTest.java:127)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> ------- Stdout: -------
> [TestSuiteProgress] Test starting: org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag
> [TestSuiteProgress] Test failed: org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag
> 20:17:54,545 ERROR (testng-ClusteredScriptingTest) [TestSuiteProgress] Test failed: org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag
> java.lang.AssertionError: expected:<3209> but was:<3207>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
> at org.infinispan.scripting.ClusteredScriptingTest$6.call(ClusteredScriptingTest.java:140)
> at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1314)
> at org.infinispan.scripting.ClusteredScriptingTest.testDistributedMapReduceStreamWithFlag(ClusteredScriptingTest.java:127)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[TestSuiteProgress] Tests succeeded: 55, failed: 3, skipped: 0
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (ISPN-6736) XML Serializer does not serialize jpaStore element
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6736?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6736:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Alpha4
9.0.0.Final
Resolution: Done
> XML Serializer does not serialize jpaStore element
> --------------------------------------------------
>
> Key: ISPN-6736
> URL: https://issues.jboss.org/browse/ISPN-6736
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
> Fix For: 9.0.0.Alpha4, 9.0.0.Final
>
>
> There is no configuration parser available for {{jpaStore}} element (http://infinispan.org/schemas/infinispan-cachestore-jpa-config-6.0.xsd ).
> When trying to parse the following xml:
> {code}
> <namedCache name="withJpaStore">
> <persistence passivation="true">
> <jpaStore xmlns="urn:infinispan:config:jpa:6.0" persistenceUnitName="TestPersistentName" entityClassName="org.infinispan.tools.customs.CustomDataContainer"
> batchSize="80" storeMetadata="false"/>
> </persistence>
> </namedCache>
> {code}
> getting the following exception:
> {code}
> org.infinispan.commons.CacheConfigurationException: ISPN000327: Cannot find a parser for element 'jpaStore' in namespace 'urn:infinispan:config:jpa:6.0'. Check that your configuration is up-to date for this version of Infinispan.
> at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:157)
> at org.infinispan.configuration.parsing.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:37)
> at org.infinispan.tools.config.v6.Parser60.parsePersistence(Parser60.java:570)
> at org.infinispan.tools.config.v6.Parser60.parseCache(Parser60.java:162)
> at org.infinispan.tools.config.v6.Parser60.parseNamedCache(Parser60.java:121)
> at org.infinispan.tools.config.v6.Parser60.readElement(Parser60.java:88)
> at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:161)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:141)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:128)
> at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:115)
> at org.infinispan.tools.config.ConfigurationConverter.convert(ConfigurationConverter.java:27)
> at org.infinispan.tools.ConfigurationConverterTest.testConversionAndSerializationFrom60(ConfigurationConverterTest.java:55)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> at org.testng.TestNG.run(TestNG.java:1057)
> at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
> at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (ISPN-6734) XML serializer serializes the singleFile location property in different way
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6734?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-6734:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Alpha4
9.0.0.Final
Resolution: Done
> XML serializer serializes the singleFile location property in different way
> ---------------------------------------------------------------------------
>
> Key: ISPN-6734
> URL: https://issues.jboss.org/browse/ISPN-6734
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration
> Reporter: Anna Manukyan
> Assignee: Anna Manukyan
> Fix For: 9.0.0.Alpha4, 9.0.0.Final
>
>
> In case when {{persistence}} is configured with {{SingleFileStore}} class and the location is provided with properties, the generated xml contains both the {{path}} attribute and the property with the same value.
> This code:
> {code}
> <infinispan>
> <namedCache name="withLoaderDefaults">
> <persistence>
> <store class="org.infinispan.persistence.file.SingleFileStore">
> <properties>
> <property name="location" value="/tmp/Another-FileCacheStore-Location" />
> </properties>
> </store>
> </persistence>
> </namedCache>
> </infinispan>
> {code}
> is converted to:
> {code}
> <infinispan>
> <threads/>
> <cache-container name="DefaultCacheManager">
> <jmx/>
> <local-cache name="withLoaderDefaults">
> <transaction mode="NONE"/>
> <persistence>
> <file-store path="/tmp/Another-FileCacheStore-Location">
> <property name="location">
> /tmp/Another-FileCacheStore-Location
> </property>
> </file-store>
> </persistence>
> </local-cache>
> </cache-container>
> </infinispan>
> {code}
> Also, if the value of location {{property}} is set to e.g.
> {noformat}
> ${java.io.tmpdir}
> {noformat}
> , then the evaluated value is placed in the generated xml.
> So the following xml:
> {code}
> <infinispan>
> <namedCache name="withLoaderDefaults">
> <persistence>
> <store class="org.infinispan.persistence.file.SingleFileStore">
> <properties>
> <property name="location" value="${java.io.tmpdir}" />
> </properties>
> </store>
> </persistence>
> </namedCache>
> </infinispan>
> {code}
> is converted to:
> {code}
> <infinispan>
> <threads/>
> <cache-container name="DefaultCacheManager">
> <jmx/>
> <local-cache name="withLoaderDefaults">
> <transaction mode="NONE"/>
> <persistence>
> <file-store path="/tmp">
> <property name="location">
> /tmp
> </property>
> </file-store>
> </persistence>
> </local-cache>
> </cache-container>
> </infinispan>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months
[JBoss JIRA] (ISPN-6910) Random failures due to MagicKey
by Radim Vansa (JIRA)
Radim Vansa created ISPN-6910:
---------------------------------
Summary: Random failures due to MagicKey
Key: ISPN-6910
URL: https://issues.jboss.org/browse/ISPN-6910
Project: Infinispan
Issue Type: Enhancement
Components: Test Suite - Core
Affects Versions: 9.0.0.Alpha3
Reporter: Radim Vansa
Assignee: Radim Vansa
There is a fixed 1000-iteration loop to find out proper key. In tests that create many magic keys, the cumulative probability of failing one of the keys' generation is going up and this is causing random failures in the testsuite.
Moreover, the equality of magic keys is based only on the hashCode - with many keys, there is a non-trivial chance that the hashcodes will make two logically different keys equal.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 5 months