Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2755

TorrentBroadcast cannot broadcast very large objects

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: Spark Core
    • Labels:
      None

      Description

      TorrentBroadcast uses `Utils.serialize` to serialize an object into Array[Byte]. So it cannot handle data of size greater than Int.MaxValue bytes. Instead of serializing the object into Array[Byte] directly, we can use the stream version implemented in HttpBroadcast.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mengxr Xiangrui Meng
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: