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.

        Issue Links

          Activity

          Hide
          srowen Sean Owen added a comment -

          I think this falls under the other "2g limit" issues

          Show
          srowen Sean Owen added a comment - I think this falls under the other "2g limit" issues

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development