You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by GitBox <gi...@apache.org> on 2022/07/28 08:49:27 UTC

[GitHub] [incubator-linkis] Alexkun opened a new issue, #2542: [Bug] linkis-engineplugin-spark cannot kill task in scala

Alexkun opened a new issue, #2542:
URL: https://github.com/apache/incubator-linkis/issues/2542

   ### Search before asking
   
   - [X] I searched the [issues](https://github.com/apache/incubator-linkis/issues) and found no similar issues.
   
   
   ### Linkis Component
   
   linkis-cg-engineConnplugin
   
   ### What happened + What you expected to happen
   
   When a scala task was canceled, the Spark EngineConn will kill the task on yarn by SparkContext, while the task in scala intp was left.
   
   ### Relevent platform
   
   CentOS 7
   
   ### Reproduction script
   
   1. Submit a scala task, the contents are as bellow:
   `import org.slf4j.LoggerFactory
   import org.apache.linkis.common.utils.Utils
   
   val logger = LoggerFactory.getLogger(getClass)
   
   var count = 0
   while (count < 100) {
       logger.warn(s"count = ${count}")
       count = count + 1
       Utils.tryQuietly(Thread.sleep(5000))
   }`
   
   2. When an EngineConn was set up, kill the task
   3. The task state will change into Canceled. Open the log of the EngineConn, and you will find that the scala into is still running.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] casionone closed issue #2542: [Bug] linkis-engineplugin-spark cannot kill task in scala

Posted by GitBox <gi...@apache.org>.
casionone closed issue #2542: [Bug] linkis-engineplugin-spark cannot kill task in scala
URL: https://github.com/apache/incubator-linkis/issues/2542


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org


[GitHub] [incubator-linkis] github-actions[bot] commented on issue #2542: [Bug] linkis-engineplugin-spark cannot kill task in scala

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #2542:
URL: https://github.com/apache/incubator-linkis/issues/2542#issuecomment-1197852783

   :blush:  Welcome to the Apache Linkis (incubating) community!!
   We are glad that you are contributing by opening this issue.
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our website project, please let us know!
   You can check out our contributing guide on 
    :point_right:  [How to Participate in Project Contribution](https://linkis.apache.org/community/how-to-contribute).
    
   WeChat  Group:
   
   ![image](https://user-images.githubusercontent.com/7869972/176336986-d6b9be8f-d1d3-45f1-aa45-8e6adf5dd244.png)
   Mailing Lists:
   |name|description|Subscribe|Unsubscribe|archive|
   |:-----|:--------|:------|:-------|:-----|
   | [dev@linkis.apache.org](mailto:dev@linkis.apache.org) | community activity information | [subscribe](mailto:dev-subscribe@linkis.apache.org) | [unsubscribe](mailto:dev-unsubscribe@linkis.apache.org) | [archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org