[JBoss JIRA] (ISPN-4033) ConcurrentInterceptorVisibilityTest.testGetVisibility random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-4033?page=com.atlassian.jira.plugin.... ]
Dan Berindei commented on ISPN-4033:
------------------------------------
The timeout error seems to be caused by very long GC pauses:
{noformat}
[16:31:20] : [org.infinispan:infinispan-core] 490.847: [GC490.848: [ParNew (promotion failed): 95104K->95104K(95104K), 14.8925940 secs]505.740: [CMS506.524: [CMS-concurrent-sweep: 0.902/15.823 secs] [Times: user=19.15 sys=6.03, real=15.82 secs]
[16:31:22] : [org.infinispan:infinispan-core] (concurrent mode failure): 812577K->317912K(838912K), 3.2331000 secs] 869638K->317912K(934016K), [CMS Perm : 48980K->48757K(80104K)], 18.1268550 secs] [Times: user=20.99 sys=5.90, real=18.12 secs]
{noformat}
The pause seems excessive for just 300MB, so it could have something to do with the OS1 machine the build is running on. Changing the collector to G1 looks promising, with maximum pauses of about 2 seconds, but that's still a little high so I'm trying to see if it can avoid Full GCs completely.
> ConcurrentInterceptorVisibilityTest.testGetVisibility random failures
> ---------------------------------------------------------------------
>
> Key: ISPN-4033
> URL: https://issues.jboss.org/browse/ISPN-4033
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 6.0.1.Final
> Reporter: Dan Berindei
> Labels: testsuite_stability
> Attachments: ConcurrentInterceptorVisibilityTest.log
>
>
> http://ci.infinispan.org/viewLog.html?buildId=5934&tab=buildResultsDiv&bu...
> {noformat}
> 17:28:43,212 ERROR (testng-ConcurrentInterceptorVisibilityTest:) [UnitTestTestNGListener] Test testGetVisibility(org.infinispan.interceptors.ConcurrentInterceptorVisibilityTest) failed.
> java.lang.RuntimeException: java.util.concurrent.TimeoutException
> at org.infinispan.interceptors.ConcurrentInterceptorVisibilityTest$1.call(ConcurrentInterceptorVisibilityTest.java:101)
> at org.infinispan.test.TestingUtil.withCacheManager(TestingUtil.java:1243)
> at org.infinispan.interceptors.ConcurrentInterceptorVisibilityTest.updateCache(ConcurrentInterceptorVisibilityTest.java:52)
> at org.infinispan.interceptors.ConcurrentInterceptorVisibilityTest.testGetVisibility(ConcurrentInterceptorVisibilityTest.java:39)
> Caused by: java.util.concurrent.TimeoutException
> at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
> at java.util.concurrent.FutureTask.get(FutureTask.java:91)
> at org.infinispan.interceptors.ConcurrentInterceptorVisibilityTest$1.call(ConcurrentInterceptorVisibilityTest.java:97)
> ... 24 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (ISPN-4751) Hibernate search, infinispan and Amazon S3 - IllegalArgumentException: bucketId: A96137216.bz2 (expected: integer)
by George Christman (JIRA)
[ https://issues.jboss.org/browse/ISPN-4751?page=com.atlassian.jira.plugin.... ]
George Christman commented on ISPN-4751:
----------------------------------------
I see a pull request, but is it in fact fixed and available for use?
> Hibernate search, infinispan and Amazon S3 - IllegalArgumentException: bucketId: A96137216.bz2 (expected: integer)
> ------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-4751
> URL: https://issues.jboss.org/browse/ISPN-4751
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Reporter: Lance Ess
> Assignee: Vojtech Juranek
>
> I'm trying to use hibernate-search to host a Lucene index on Amazon S3 but I'm getting the following exception:
> {code}
> Exception in thread "LuceneIndexesData-CloudCacheStore-0" java.lang.IllegalArgumentException: bucketId: A96137216.bz2 (expected: integer)
> at org.infinispan.loaders.bucket.Bucket.setBucketId(Bucket.java:84)
> at org.infinispan.loaders.cloud.CloudCacheStore.readFromBlob(CloudCacheStore.java:450)
> at org.infinispan.loaders.cloud.CloudCacheStore.scanBlobForExpiredEntries(CloudCacheStore.java:292)
> at org.infinispan.loaders.cloud.CloudCacheStore.purge(CloudCacheStore.java:284)
> at org.infinispan.loaders.cloud.CloudCacheStore.purgeInternal(CloudCacheStore.java:336)
> at org.infinispan.loaders.AbstractCacheStore$2.run(AbstractCacheStore.java:111)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> {code}
> The documentation for persisting Lucene indexes on Amazon-S3 is a little sparse but I think I'm on the right track. I'm trying to start infinispan embedded within my application so I've specified a path to the infinispan XML as follows in my hibernate.cfg.xml
> {code:xml}
> <property name="hibernate.search.default.directory_provider">infinispan</property>
> <property name="hibernate.search.infinispan.configuration_resourcename">infinispan-amazons3.xml</property>
> <property name="hibernate.search.infinispan.chunk_size">300000000</property>
> {code}
> And my infinispan-amazons3.xml is:
> {code:xml}
> <infinispan>
> <default>
> <loaders>
> <cloudStore xmlns="urn:infinispan:config:cloud:5.3"
> cloudService="aws-s3"
> identity="user"
> password="password"
> bucketPrefix="bucket">
> </cloudStore>
> </loaders>
> </default>
> </infinispan>
> {code}
> I'm using the following versions (maven pom.xml)
> {code}
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-search</artifactId>
> <version>4.4.4.Final</version>
> </dependency>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-search-infinispan</artifactId>
> <version>4.4.4.Final</version>
> </dependency>
> <dependency>
> <groupId>org.infinispan</groupId>
> <artifactId>infinispan-cachestore-cloud</artifactId>
> <version>5.3.0.Final</version>
> </dependency>
> <dependency>
> <groupId>org.jclouds.provider</groupId>
> <artifactId>aws-s3</artifactId>
> <version>1.4.1</version>
> </dependency>
> {code}
> I initially thought this was related to ISPN-1909 but my version is after the fix for that issue (5.1.3.CR1, 5.1.3.FINAL)
> FYI here's my maven dependency tree (grepped for infinispan)
> {code}
> $ mvn dependency:tree | grep infinispan
> [INFO] +- org.hibernate:hibernate-search-infinispan:jar:4.4.4.Final:compile
> [INFO] | \- org.infinispan:infinispan-lucene-directory:jar:5.3.0.Final:compile
> [INFO] +- org.infinispan:infinispan-cachestore-cloud:jar:5.3.0.Final:compile
> [INFO] | \- org.infinispan:infinispan-core:jar:5.3.0.Final:compile
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (ISPN-5253) Update Listener Questions in FAQ
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-5253?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-5253:
------------------------------
Status: Open (was: New)
> Update Listener Questions in FAQ
> --------------------------------
>
> Key: ISPN-5253
> URL: https://issues.jboss.org/browse/ISPN-5253
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation-Core
> Affects Versions: 7.2.0.Alpha1
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Fix For: 7.2.0.Beta1
>
>
> Listener FAQ question 2.7.2. (When annotating a method with CacheEntryCreated, how do I retrieve the value of the cache entry added?) is no longer valid. The CacheEntryCreated has a method (since 6.0) to return the value added and since 7.0, the CacheEntryModifiedEvent is not triggered.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (ISPN-4751) Hibernate search, infinispan and Amazon S3 - IllegalArgumentException: bucketId: A96137216.bz2 (expected: integer)
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-4751?page=com.atlassian.jira.plugin.... ]
William Burns reassigned ISPN-4751:
-----------------------------------
Assignee: Vojtech Juranek (was: William Burns)
This should be fixed in ISPN-3549, I believe. If so you can close this one out linking it Vojtech.
> Hibernate search, infinispan and Amazon S3 - IllegalArgumentException: bucketId: A96137216.bz2 (expected: integer)
> ------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-4751
> URL: https://issues.jboss.org/browse/ISPN-4751
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Reporter: Lance Ess
> Assignee: Vojtech Juranek
>
> I'm trying to use hibernate-search to host a Lucene index on Amazon S3 but I'm getting the following exception:
> {code}
> Exception in thread "LuceneIndexesData-CloudCacheStore-0" java.lang.IllegalArgumentException: bucketId: A96137216.bz2 (expected: integer)
> at org.infinispan.loaders.bucket.Bucket.setBucketId(Bucket.java:84)
> at org.infinispan.loaders.cloud.CloudCacheStore.readFromBlob(CloudCacheStore.java:450)
> at org.infinispan.loaders.cloud.CloudCacheStore.scanBlobForExpiredEntries(CloudCacheStore.java:292)
> at org.infinispan.loaders.cloud.CloudCacheStore.purge(CloudCacheStore.java:284)
> at org.infinispan.loaders.cloud.CloudCacheStore.purgeInternal(CloudCacheStore.java:336)
> at org.infinispan.loaders.AbstractCacheStore$2.run(AbstractCacheStore.java:111)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> {code}
> The documentation for persisting Lucene indexes on Amazon-S3 is a little sparse but I think I'm on the right track. I'm trying to start infinispan embedded within my application so I've specified a path to the infinispan XML as follows in my hibernate.cfg.xml
> {code:xml}
> <property name="hibernate.search.default.directory_provider">infinispan</property>
> <property name="hibernate.search.infinispan.configuration_resourcename">infinispan-amazons3.xml</property>
> <property name="hibernate.search.infinispan.chunk_size">300000000</property>
> {code}
> And my infinispan-amazons3.xml is:
> {code:xml}
> <infinispan>
> <default>
> <loaders>
> <cloudStore xmlns="urn:infinispan:config:cloud:5.3"
> cloudService="aws-s3"
> identity="user"
> password="password"
> bucketPrefix="bucket">
> </cloudStore>
> </loaders>
> </default>
> </infinispan>
> {code}
> I'm using the following versions (maven pom.xml)
> {code}
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-search</artifactId>
> <version>4.4.4.Final</version>
> </dependency>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-search-infinispan</artifactId>
> <version>4.4.4.Final</version>
> </dependency>
> <dependency>
> <groupId>org.infinispan</groupId>
> <artifactId>infinispan-cachestore-cloud</artifactId>
> <version>5.3.0.Final</version>
> </dependency>
> <dependency>
> <groupId>org.jclouds.provider</groupId>
> <artifactId>aws-s3</artifactId>
> <version>1.4.1</version>
> </dependency>
> {code}
> I initially thought this was related to ISPN-1909 but my version is after the fix for that issue (5.1.3.CR1, 5.1.3.FINAL)
> FYI here's my maven dependency tree (grepped for infinispan)
> {code}
> $ mvn dependency:tree | grep infinispan
> [INFO] +- org.hibernate:hibernate-search-infinispan:jar:4.4.4.Final:compile
> [INFO] | \- org.infinispan:infinispan-lucene-directory:jar:5.3.0.Final:compile
> [INFO] +- org.infinispan:infinispan-cachestore-cloud:jar:5.3.0.Final:compile
> [INFO] | \- org.infinispan:infinispan-core:jar:5.3.0.Final:compile
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (ISPN-5253) Update Listener Questions in FAQ
by Pedro Ruivo (JIRA)
Pedro Ruivo created ISPN-5253:
---------------------------------
Summary: Update Listener Questions in FAQ
Key: ISPN-5253
URL: https://issues.jboss.org/browse/ISPN-5253
Project: Infinispan
Issue Type: Enhancement
Components: Documentation-Core
Affects Versions: 7.2.0.Alpha1
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Fix For: 7.2.0.Beta1
Listener FAQ question 2.7.2. (When annotating a method with CacheEntryCreated, how do I retrieve the value of the cache entry added?) is no longer valid. The CacheEntryCreated has a method (since 6.0) to return the value added and since 7.0, the CacheEntryModifiedEvent is not triggered.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (ISPN-3996) LocalCachePerformantConfTest is reusing the same file path for multiple tests
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-3996?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration commented on ISPN-3996:
-----------------------------------------------
Sebastian Łaskawiec <slaskawi(a)redhat.com> changed the Status of [bug 1195697|https://bugzilla.redhat.com/show_bug.cgi?id=1195697] from POST to MODIFIED
> LocalCachePerformantConfTest is reusing the same file path for multiple tests
> -----------------------------------------------------------------------------
>
> Key: ISPN-3996
> URL: https://issues.jboss.org/browse/ISPN-3996
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Query
> Affects Versions: 6.0.1.Final
> Reporter: Pedro Ruivo
> Assignee: Sanne Grinovero
> Labels: 630, testsuite_stability
> Fix For: 7.0.0.Alpha1, 7.0.0.Final
>
>
> org.infinispan.query.blackbox.LocalCachePerformantConfTest
> LocalCachePerformantConfTest.testLazyIterator
> LocalCachePerformantConfTest.testLazyIteratorWithInvalidFetchSize
> LocalCachePerformantConfTest.testLazyIteratorWithNoElementsFound
> LocalCachePerformantConfTest.testLazyIteratorWithOffset
> LocalCachePerformantConfTest.testMaxResults
> LocalCachePerformantConfTest.testModified
> LocalCachePerformantConfTest.testMultipleResults
> LocalCachePerformantConfTest.testRemoved
> LocalCachePerformantConfTest.testSearchKeyTransformer
> LocalCachePerformantConfTest.testSearchManagerWithInstantiation
> LocalCachePerformantConfTest.testSearchManagerWithNullCache
> LocalCachePerformantConfTest.testSetFilter
> LocalCachePerformantConfTest.testSetSort
> LocalCachePerformantConfTest.testSimple
> LocalCachePerformantConfTest.testSimpleForNonField
> LocalCachePerformantConfTest.testTypeFiltering
> LocalCachePerformantConfTest.testUnknownFetchModeIterator
> LocalCachePerformantConfTest.testUpdated
> http://ci.infinispan.org/viewLog.html?buildId=5947&tab=buildResultsDiv&bu...
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (ISPN-5252) Override toString() of org.infinispan.registry.ScopedKey
by Osamu Nagano (JIRA)
Osamu Nagano created ISPN-5252:
----------------------------------
Summary: Override toString() of org.infinispan.registry.ScopedKey
Key: ISPN-5252
URL: https://issues.jboss.org/browse/ISPN-5252
Project: Infinispan
Issue Type: Feature Request
Components: Core
Reporter: Osamu Nagano
A lock request timed out and the target key was dumped, but it was default {{toString()}} output of {{ScopedKey}}. This is unfriendly to developer. The wrapped original key should be dumped.
{noformat}
Caused by: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [10 seconds] on key [org.infinispan.registry.ScopedKey@5b6f425] for requestor [GlobalTransaction:<AAA>:1568:remote]! Lock held by [GlobalTransaction:<BBB>:1271:local]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (ISPN-5252) Override toString() of org.infinispan.registry.ScopedKey
by Osamu Nagano (JIRA)
[ https://issues.jboss.org/browse/ISPN-5252?page=com.atlassian.jira.plugin.... ]
Osamu Nagano updated ISPN-5252:
-------------------------------
Affects Version/s: 7.2.0.Alpha1
> Override toString() of org.infinispan.registry.ScopedKey
> --------------------------------------------------------
>
> Key: ISPN-5252
> URL: https://issues.jboss.org/browse/ISPN-5252
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 7.2.0.Alpha1
> Reporter: Osamu Nagano
>
> A lock request timed out and the target key was dumped, but it was default {{toString()}} output of {{ScopedKey}}. This is unfriendly to developer. The wrapped original key should be dumped.
> {noformat}
> Caused by: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [10 seconds] on key [org.infinispan.registry.ScopedKey@5b6f425] for requestor [GlobalTransaction:<AAA>:1568:remote]! Lock held by [GlobalTransaction:<BBB>:1271:local]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months