[
https://issues.jboss.org/browse/ISPN-1909?page=com.atlassian.jira.plugin....
]
Manik Surtani updated ISPN-1909:
--------------------------------
Fix Version/s: 5.1.3.CR1
(was: 5.2.0.ALPHA1)
Git Pull Request:
https://github.com/infinispan/infinispan/pull/997 (was:
https://github.com/infinispan/infinispan/pull/997)
FileCacheStore does not work correctly with NFS
-----------------------------------------------
Key: ISPN-1909
URL:
https://issues.jboss.org/browse/ISPN-1909
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 5.1.2.FINAL
Reporter: Martin Gencur
Assignee: Tristan Tarrant
Fix For: 5.1.3.CR1, 5.1.3.FINAL
I'm getting the following exception when running Infinispan testsuite on Solaris with
NFS (Network File System):
{code}
java.lang.IllegalArgumentException: bucketId: .nfs073116 (expected: integer)
at org.infinispan.loaders.bucket.Bucket.setBucketId(Bucket.java:77)
at org.infinispan.loaders.file.FileCacheStore.loadBucket(FileCacheStore.java:323)
at org.infinispan.loaders.file.FileCacheStore.loopOverBuckets(FileCacheStore.java:101)
at
org.infinispan.loaders.bucket.BucketBasedCacheStore.loadAllLockSafe(BucketBasedCacheStore.java:180)
at org.infinispan.loaders.LockSupportCacheStore.loadAll(LockSupportCacheStore.java:138)
at
org.infinispan.loaders.BaseCacheStoreTest.testStreamingAPI(BaseCacheStoreTest.java:561)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:546)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
at org.testng.TestRunner.runWorkers(TestRunner.java:909)
at org.testng.TestRunner.privateRun(TestRunner.java:618)
at org.testng.TestRunner.run(TestRunner.java:499)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:33)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:358)
at
org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:142)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
{code}
More FileCacheStore tests fail because of this problem:
https://hudson.qa.jboss.com/hudson/view/EDG6/view/EDG-QE/job/edg-60-commu...
I was not sure what this means and found this explanation on the internet:
The .nfsxxxx files are used by NFS clients to manage
the deletion of open files. If an open file is deleted
then the client renames it to .nfsxxxx. If the last
open to this file is closed then the client should
send a request to remove it. If the client crashes
before it can clean up then you'll be left with these
files.
I think Infinispan should count with using NFS ans ignore the files with .nsf prefix when
loading all buckets into memory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira