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] [Updated] (IGNITE-5410) Invocation of HadoopDataOutStream#write(byte[], int, int) with zero len сauses an AssertionError.
Date Tue, 06 Jun 2017 13:57:18 GMT

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

Vladimir Ozerov updated IGNITE-5410:
------------------------------------
    Fix Version/s: 2.1

> Invocation of HadoopDataOutStream#write(byte[], int, int) with zero len сauses an AssertionError.
> -------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-5410
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5410
>             Project: Ignite
>          Issue Type: Bug
>          Components: hadoop
>    Affects Versions: 2.1
>            Reporter: Ivan Veselovsky
>            Assignee: Ivan Veselovsky
>            Priority: Minor
>             Fix For: 2.1
>
>
> Writing an array of zero length causes the following AssertionError:
> {code}
> java.lang.AssertionError: 0
> 	at org.apache.ignite.internal.processors.hadoop.shuffle.streams.HadoopOffheapBuffer.move(HadoopOffheapBuffer.java:95)
> 	at org.apache.ignite.internal.processors.hadoop.shuffle.streams.HadoopDataOutStream.move(HadoopDataOutStream.java:55)
> 	at org.apache.ignite.internal.processors.hadoop.shuffle.collections.HadoopMultimapBase$AdderBase$1.move(HadoopMultimapBase.java:206)
> 	at org.apache.ignite.internal.processors.hadoop.shuffle.streams.HadoopDataOutStream.write(HadoopDataOutStream.java:70)
> 	at org.apache.hadoop.io.BytesWritable.write(BytesWritable.java:187)
> ...
> {code}
> Suggested fix is to change the assertion to 
> {code} assert size >= 0 : size; {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message