apache / apache/linkis

When performing a spark task with scala, the task and spark engine will not be released correctly if the last line is a comment.[Bug]

Open
#2,667 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
3.4k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### Search before asking

- [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.

### Linkis Component

linkis-engineconnn-plugin

### Steps to reproduce

1.submit a scala task
![image](https://user-images.githubusercontent.com/32257480/183832328-08131263-4606-4b8b-b902-593c789a2443.png)

2.Observe the task log to see that the task cannot succeed for a long time

### Expected behavior

Complete the task normally

### Your environment

- Linkis version used: 1.0.3
- Environment name and version:
- spark-2.4.0
- scala-2.11.12
- jdk 1.8.0_121

### Anything else

When the last line is a comment, the task completes and the last commit is "IncompleteExecuteResponse", while the subsequent logic does not process "IncompleteExecuteResponse".

### Are you willing to submit a PR?

- [X] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.