giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aanchal Dalmia (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GIRAPH-1203) Throw better exception when edge serialisation fails because of too many edges
Date Fri, 05 Oct 2018 19:06:00 GMT

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

Aanchal Dalmia updated GIRAPH-1203:
-----------------------------------
    Description: 
When a vertex has a large number of edges, during serialization, the edges would not fit into
the byte array. The upper limit on the size of the array is the maximum integer value. When
this is crossed, the size of the byte array becomes negative, since the integer overflows.

Throw a better exception when this happens.

> Throw better exception when edge serialisation fails because of too many edges
> ------------------------------------------------------------------------------
>
>                 Key: GIRAPH-1203
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1203
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Aanchal Dalmia
>            Priority: Minor
>
> When a vertex has a large number of edges, during serialization, the edges would not
fit into the byte array. The upper limit on the size of the array is the maximum integer value.
When this is crossed, the size of the byte array becomes negative, since the integer overflows.
> Throw a better exception when this happens.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message