Skip to content

[CORE] bug report: collision of resource profile id #57498

Description

@rterror

Spark's default resource profile id is 0. In stage level resource profile, the first returned resource id is also 0 which would lead to a collision.

  val UNKNOWN_RESOURCE_PROFILE_ID = -1
  val DEFAULT_RESOURCE_PROFILE_ID = 0

  private lazy val nextProfileId = new AtomicInteger(0)

private lazy val nextProfileId = new AtomicInteger(0)

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