ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-2859) IGFS: test org.apache.ignite.internal.processors.igfs.IgfsStartCacheTest#testCacheStart fakily fails
Date Fri, 18 Mar 2016 12:14:33 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Ozerov closed IGNITE-2859.
-----------------------------------

> IGFS: test org.apache.ignite.internal.processors.igfs.IgfsStartCacheTest#testCacheStart
fakily fails
> ----------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-2859
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2859
>             Project: Ignite
>          Issue Type: Bug
>          Components: IGFS
>    Affects Versions: 1.6
>            Reporter: Ivan Veselovsky
>            Assignee: Vladimir Ozerov
>             Fix For: 1.6
>
>
> {code}
> java.io.IOException: File was concurrently deleted: /test/test.file
> 	at org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl.flush(IgfsOutputStreamImpl.java:278)
> 	at org.apache.ignite.internal.processors.igfs.IgfsOutputStreamAdapter.close(IgfsOutputStreamAdapter.java:182)
> 	at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:320)
> 	at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149)
> 	at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233)
> 	at java.io.BufferedWriter.close(BufferedWriter.java:266)
> 	at org.apache.ignite.internal.processors.igfs.IgfsStartCacheTest.testCacheStart(IgfsStartCacheTest.java:127)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at junit.framework.TestCase.runTest(TestCase.java:176)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1758)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:118)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest$4.run(GridAbstractTest.java:1696)
> 	at java.lang.Thread.run(Thread.java:745)
> {code}
> In method org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl#flush() existence
of the file being written is checked with id2InfoPrj.get(id) .
> For some reason it appears that sometimes this get returns null, while method org.apache.ignite.internal.processors.igfs.IgfsMetaManager#create
guaranteed to return at this point, and the file creation transaction must already be committed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message