Skip to content

[Improvement] Disallow sendShuffleData if requireBufferId expired #76

@xianjingfeng

Description

@xianjingfeng

We found shuffle server which under high load is easy encounter java.lang.OutOfMemoryError: Java heap space even we allocate more jvm heap memory and less rss.server.buffer.capacity

The steps for the exception above:

  1. When shuffle server under high load, requireBufferId is easy to expire, and Shuffle server release usedMemory
  2. Client sendShuffleData using a expired requireBufferId,
  3. Shuffle server recive shuffle data and store in rpc queue(this part of memory usage was not be added to usedMemory)
  4. Other clients requireBuffer success because usedMemory is enough

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions