ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-1632) IGFS: many operations in DUAL modes fail if IGFS block size is small
Date Thu, 08 Oct 2015 09:02:26 GMT

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

Ivan Veselovsky updated IGNITE-1632:
------------------------------------
    Description: 
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}

  was:
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}


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

Mime
View raw message