Skip to content

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]  #2667

Open
@SurelySomeday

Description

@SurelySomeday

Search before asking

  • I searched the issues and found no similar issues.

Linkis Component

linkis-engineconnn-plugin

Steps to reproduce

1.submit a scala task
image

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?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions