Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-1203

Throw better exception when edge serialisation fails because of too many edges

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aanchal204 Aanchal Dalmia
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: