You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/12/10 09:53:11 UTC

[jira] [Updated] (IGNITE-1632) IGFS: apend & create operations in DUAL modes fail if IGFS block size is small

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

Vladimir Ozerov updated IGNITE-1632:
------------------------------------
    Fix Version/s:     (was: 1.5)
                   1.6

> IGFS: apend & create operations in DUAL modes fail if IGFS block size is small
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-1632
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1632
>             Project: Ignite
>          Issue Type: Bug
>          Components: hadoop
>    Affects Versions: ignite-1.4
>            Reporter: Ivan Veselovsky
>            Assignee: Ivan Veselovsky
>             Fix For: 1.6
>
>
> Currently org.apache.ignite.internal.processors.igfs.IgfsAbstractSelfTest#IGFS_BLOCK_SIZE = 512 * 1024;
> Set it to a small value,  e.g. = 31 and run dual mode tests, e.g. IgfsDualSyncSelfTest .
> Several failures of tests using append and create operations with exception like the following will be observed:
> {code}
> java.lang.AssertionError: Chunk #0 was not read fully: read=31, expected=128
> 	at org.apache.ignite.internal.processors.igfs.IgfsAbstractSelfTest.checkFileContent(IgfsAbstractSelfTest.java:2895)
> 	at org.apache.ignite.internal.processors.igfs.IgfsAbstractSelfTest.checkFile(IgfsAbstractSelfTest.java:2828)
> 	at org.apache.ignite.internal.processors.igfs.IgfsDualAbstractSelfTest.testAppendParentMissing(IgfsDualAbstractSelfTest.java:1383)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1665)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:111)
> 	at org.apache.ignite.testframework.junits.GridAbstractTest$6.run(GridAbstractTest.java:1603)
> {code}



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