Skip to content

[SPARK-56027][INFRA] Fix NoEmptyContinuation warning of spark-test-image/lint/Dockerfile#54856

Closed
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-56027
Closed

[SPARK-56027][INFRA] Fix NoEmptyContinuation warning of spark-test-image/lint/Dockerfile#54856
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:SPARK-56027

Conversation

@dongjoon-hyun
Copy link
Copy Markdown
Member

@dongjoon-hyun dongjoon-hyun commented Mar 17, 2026

What changes were proposed in this pull request?

This PR removes a trailing backslash (\) on an empty continuation line in dev/spark-test-image/lint/Dockerfile to fix the NoEmptyContinuation warning from Dockerfile linters. This is the only instance of this pattern.

Why are the changes needed?

The trailing \ at line 69 is followed by an empty line, which triggers the NoEmptyContinuation warning. This is a no-op continuation that should be removed for clean lint results.

$ cd dev/spark-test-image/lint
$ docker build .
...
 => WARN: NoEmptyContinuation: Empty continuation line (line 72)           0.0s
...

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Verified by searching all Dockerfiles in the repository for the backslash-followed-by-empty-line pattern and confirming this was the only occurrence.

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

Generated-by: Claude Code (claude-opus-4-6)

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-56027] Fix NoEmptyContinuation warning of spark-test-image/lint/Dockerfile` [SPARK-56027][INFRA] Fix NoEmptyContinuation warning of spark-test-image/lint/Dockerfile` Mar 17, 2026
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-56027][INFRA] Fix NoEmptyContinuation warning of spark-test-image/lint/Dockerfile` [SPARK-56027][INFRA] Fix NoEmptyContinuation warning of spark-test-image/lint/Dockerfile Mar 17, 2026
@dongjoon-hyun dongjoon-hyun marked this pull request as draft March 17, 2026 08:04
@dongjoon-hyun
Copy link
Copy Markdown
Member Author

@dongjoon-hyun dongjoon-hyun marked this pull request as ready for review March 17, 2026 14:52
@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Could you review this a minor PR, @peter-toth ?

Last night, there was an outage in CI due to new R package release. While fixing it in SPARK-56025, I found this minor annoying warning.

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Thank you so much, @peter-toth !

dongjoon-hyun added a commit that referenced this pull request Mar 17, 2026
…-image/lint/Dockerfile`

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

This PR removes a trailing backslash (`\`) on an empty continuation line in `dev/spark-test-image/lint/Dockerfile` to fix the `NoEmptyContinuation` warning from Dockerfile linters. This is the only instance of this pattern.

- https://docs.docker.com/reference/build-checks/no-empty-continuation/

### Why are the changes needed?

The trailing `\` at line 69 is followed by an empty line, which triggers the `NoEmptyContinuation` warning. This is a no-op continuation that should be removed for clean lint results.

```
$ cd dev/spark-test-image/lint
$ docker build .
...
 => WARN: NoEmptyContinuation: Empty continuation line (line 72)           0.0s
...
```

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

No.

### How was this patch tested?

Verified by searching all Dockerfiles in the repository for the backslash-followed-by-empty-line pattern and confirming this was the only occurrence.

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

Generated-by: Claude Code (claude-opus-4-6)

Closes #54856 from dongjoon-hyun/SPARK-56027.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 5acd8e6)
Signed-off-by: Dongjoon Hyun <[email protected]>
dongjoon-hyun added a commit that referenced this pull request Mar 17, 2026
…-image/lint/Dockerfile`

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

This PR removes a trailing backslash (`\`) on an empty continuation line in `dev/spark-test-image/lint/Dockerfile` to fix the `NoEmptyContinuation` warning from Dockerfile linters. This is the only instance of this pattern.

- https://docs.docker.com/reference/build-checks/no-empty-continuation/

### Why are the changes needed?

The trailing `\` at line 69 is followed by an empty line, which triggers the `NoEmptyContinuation` warning. This is a no-op continuation that should be removed for clean lint results.

```
$ cd dev/spark-test-image/lint
$ docker build .
...
 => WARN: NoEmptyContinuation: Empty continuation line (line 72)           0.0s
...
```

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

No.

### How was this patch tested?

Verified by searching all Dockerfiles in the repository for the backslash-followed-by-empty-line pattern and confirming this was the only occurrence.

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

Generated-by: Claude Code (claude-opus-4-6)

Closes #54856 from dongjoon-hyun/SPARK-56027.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 5acd8e6)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun dongjoon-hyun deleted the SPARK-56027 branch March 17, 2026 16:03
@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Merged to master/4.1/4.0.

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