Skip to content

[BUG] NPE risk in AuronUniffleShuffleReader #2052

@slfan1989

Description

@slfan1989

Describe the bug

In AuronUniffleShuffleReader, there are potential NullPointerException risks when handling partitions:

  • partitionToExpectBlocks.get(partition) may return null, but the code directly calls .isEmpty() without null check
  • partitionToShuffleServers.get(partition) may return null, but the code uses it directly without validationThis can cause the shuffle reader to crash when reading partitions that have missing or incomplete metadata.
    This can cause the shuffle reader to crash when reading partitions that have missing or incomplete metadata.

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