giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-821) proper handling of NegativeArraySizeException for all ByteArray backed messagestores
Date Fri, 10 Jan 2014 19:13:51 GMT

    [ https://issues.apache.org/jira/browse/GIRAPH-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868149#comment-13868149
] 

Hudson commented on GIRAPH-821:
-------------------------------

SUCCESS: Integrated in Giraph-trunk-Commit #1385 (See [https://builds.apache.org/job/Giraph-trunk-Commit/1385/])
GIRAPH-821: proper handling of NegativeArraySizeException for all ByteArray backed messagestores
(pavanka via majakabiljo) (majakabiljo: http://git-wip-us.apache.org/repos/asf?p=giraph.git&a=commit&h=6b54593af9156e346c40e6fafeb7668a7ac4ae6e)
* giraph-core/src/main/java/org/apache/giraph/utils/VerboseByteArrayMessageWrite.java
* giraph-core/src/main/java/org/apache/giraph/comm/messages/primitives/LongByteArrayMessageStore.java
* giraph-core/src/main/java/org/apache/giraph/utils/ByteArrayVertexIdMessages.java
* giraph-core/src/main/java/org/apache/giraph/comm/messages/primitives/IntByteArrayMessageStore.java
* CHANGELOG
* giraph-core/src/main/java/org/apache/giraph/comm/messages/ByteArrayMessagesPerVertexStore.java


>  proper handling of NegativeArraySizeException for all ByteArray backed messagestores
> -------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-821
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-821
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Pavan Kumar
>            Assignee: Pavan Kumar
>            Priority: Minor
>              Labels: giraph
>         Attachments: GIRAPH-821-v1.patch, GIRAPH-821.patch, Testing.patch
>
>
> For byte array backed message stores (i.e.     LongByteArrayMessageStore, ByteArrayMessagesPerVertexMessageStore,
and IntByteArrayMessageStore)     currently, when the byte[] of underlying ExtendedDataOuput
runs out of space (i.e. UnsafeByteArrayOutputStream)     we see java.lang.NegativeArraySizeException
in the SendWorkerMessagesRequest.     We want to catch the exception dump the known vertex
information and explain the issue     (the amount of bytes sent to this vertex exceeded the
max capacity of this ExtendedDataOutput).      In this diff all ByteArray backed messagestores
have been modified to behave as explained.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message