Skip to content

[SPARK-58746][INFRA] Remove a dead lsof workaround and fix stale references in release tooling - #57972

Closed
uros-b wants to merge 1 commit into
apache:masterfrom
uros-b:devexp-stale-paths-and-dead-lsof
Closed

[SPARK-58746][INFRA] Remove a dead lsof workaround and fix stale references in release tooling#57972
uros-b wants to merge 1 commit into
apache:masterfrom
uros-b:devexp-stale-paths-and-dead-lsof

Conversation

@uros-b

@uros-b uros-b commented Aug 12, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Three fixes to developer and release tooling:

  • dev/create-release/release-build.sh: removes the dead lsof band-aid block, and fixes a typo in the usage help (reposiotry to repository).
  • .github/PULL_REQUEST_TEMPLATE: updates the ConfigEntry.scala path to its current location under common/utils.

Why are the changes needed?

The lsof block assigns $LSOF and probes for the binary, but $LSOF is never used anywhere in the script or in anything it sources or that calls it, so the SPARK-22377 workaround has had no effect since the Jenkins machines it targeted were retired. The PR template points contributors at core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala, which no longer exists; the file now lives under common/utils.

Does this PR introduce any user-facing change?

No. Developer and release tooling only.

How was this patch tested?

No functional change. release-build.sh still parses (bash -n), $LSOF was confirmed to have no reference outside the removed block (including in release-util.sh and do-release.sh), and the corrected ConfigEntry.scala path exists on master while the old one does not.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for CI

@uros-b
uros-b requested a review from HyukjinKwon August 13, 2026 07:46
@uros-b

uros-b commented Aug 13, 2026

Copy link
Copy Markdown
Member Author

Thank you @HyukjinKwon!

@uros-b uros-b closed this in 6b6e910 Aug 13, 2026
uros-b added a commit that referenced this pull request Aug 13, 2026
…rences in release tooling

### What changes were proposed in this pull request?

Three fixes to developer and release tooling:

- `dev/create-release/release-build.sh`: removes the dead `lsof` band-aid block, and fixes a typo in the usage help (`reposiotry` to `repository`).
- `.github/PULL_REQUEST_TEMPLATE`: updates the `ConfigEntry.scala` path to its current location under `common/utils`.

### Why are the changes needed?

The `lsof` block assigns `$LSOF` and probes for the binary, but `$LSOF` is never used anywhere in the script or in anything it sources or that calls it, so the SPARK-22377 workaround has had no effect since the Jenkins machines it targeted were retired. The PR template points contributors at `core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala`, which no longer exists; the file now lives under `common/utils`.

### Does this PR introduce _any_ user-facing change?

No. Developer and release tooling only.

### How was this patch tested?

No functional change. `release-build.sh` still parses (`bash -n`), `$LSOF` was confirmed to have no reference outside the removed block (including in `release-util.sh` and `do-release.sh`), and the corrected `ConfigEntry.scala` path exists on master while the old one does not.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)

Closes #57972 from uros-b/devexp-stale-paths-and-dead-lsof.

Authored-by: Uros Bojanic <221401595+uros-b@users.noreply.github.com>
Signed-off-by: Uros Bojanic <221401595+uros-b@users.noreply.github.com>
(cherry picked from commit 6b6e910)
Signed-off-by: Uros Bojanic <221401595+uros-b@users.noreply.github.com>
uros-b added a commit that referenced this pull request Aug 13, 2026
…rences in release tooling

### What changes were proposed in this pull request?

Three fixes to developer and release tooling:

- `dev/create-release/release-build.sh`: removes the dead `lsof` band-aid block, and fixes a typo in the usage help (`reposiotry` to `repository`).
- `.github/PULL_REQUEST_TEMPLATE`: updates the `ConfigEntry.scala` path to its current location under `common/utils`.

### Why are the changes needed?

The `lsof` block assigns `$LSOF` and probes for the binary, but `$LSOF` is never used anywhere in the script or in anything it sources or that calls it, so the SPARK-22377 workaround has had no effect since the Jenkins machines it targeted were retired. The PR template points contributors at `core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala`, which no longer exists; the file now lives under `common/utils`.

### Does this PR introduce _any_ user-facing change?

No. Developer and release tooling only.

### How was this patch tested?

No functional change. `release-build.sh` still parses (`bash -n`), `$LSOF` was confirmed to have no reference outside the removed block (including in `release-util.sh` and `do-release.sh`), and the corrected `ConfigEntry.scala` path exists on master while the old one does not.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)

Closes #57972 from uros-b/devexp-stale-paths-and-dead-lsof.

Authored-by: Uros Bojanic <221401595+uros-b@users.noreply.github.com>
Signed-off-by: Uros Bojanic <221401595+uros-b@users.noreply.github.com>
(cherry picked from commit 6b6e910)
Signed-off-by: Uros Bojanic <221401595+uros-b@users.noreply.github.com>
@uros-b

uros-b commented Aug 13, 2026

Copy link
Copy Markdown
Member Author

Merge Summary:

Posted by merge_spark_pr.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants