[
https://issues.apache.org/jira/browse/GIRAPH-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640258#comment-16640258
]
ASF GitHub Bot commented on GIRAPH-1203:
----------------------------------------
GitHub user aanchal204 opened a pull request:
https://github.com/apache/giraph/pull/87
Better exception handling for large number of edges: GIRAPH-1203
Ran:
mvn clean verify -P hadoop_facebook
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aanchal204/giraph
negative-array-size-exception
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/giraph/pull/87.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #87
----
commit b0d9f4e6aa77bd0d23afa787d2ab2a8dcffbcb58
Author: Aanchal Dalmia <aanchal204@...>
Date: 2018-10-05T19:30:02Z
Better exception handling for large number of edges: GIRAPH-1203
----
> 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)