Skip to content

Fix empty log message in AuronUniffleShuffleReader #1988

@slfan1989

Description

@slfan1989

Problem

In AuronUniffleShuffleReader.scala, there is an empty log statement that provides no useful information when empty shuffle partitions are detected:

if (!emptyPartitionIds.isEmpty) {
  logInfo(s"")  // Empty log message
}

This makes debugging and monitoring difficult as we cannot identify which partitions are empty during shuffle operations.

Solution

Replace the empty log message with meaningful information that includes:
The count of empty shuffle partitions
The list of empty partition IDs:

if (!emptyPartitionIds.isEmpty) {
  logInfo(s"Found ${emptyPartitionIds.size()} empty shuffle partitions: ${emptyPartitionIds.asScala.mkString(",")}")
}

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