You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ivan Veselovsky (JIRA)" <ji...@apache.org> on 2015/10/07 20:57:26 UTC

[jira] [Created] (IGNITE-1632) IGFS: many operations in DUAL modes fail if IGFS block size is small

Ivan Veselovsky created IGNITE-1632:
---------------------------------------

             Summary: IGFS: many 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: ignite-1.5


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 .
Many failures 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)