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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: