You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "hunkw123456 (via GitHub)" <gi...@apache.org> on 2023/04/25 09:27:41 UTC

[GitHub] [incubator-streampark] hunkw123456 opened a new issue, #2700: Issue occurs when forcefully stop job running in kubernetes application mode

hunkw123456 opened a new issue, #2700:
URL: https://github.com/apache/incubator-streampark/issues/2700

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### Java Version
   
   java 8
   
   ### Scala Version
   
   2.12.x
   
   ### StreamPark Version
   
   2.0.0
   
   ### Flink Version
   
   1.13.2
   
   ### deploy mode
   
   kubernetes-application
   
   ### What happened
   
   A flink job has been started in k8s application mode. Its "Run Status" keeps RUNNING and data cleansing is ongoing. Then I wanner kill this job by "stop" button, after I clicked it, the status switched to CANCELLING. As it kept on status CANCELLING for minutes, I don't want to wait, then I clicked the "Forced Stop Application" button to kill it forcefully:
   (1) Error appears, which reads ingresses can't be removed in the namespace "k8s-application-test-2", but actually "k8s-application-test-2" is the application name I set, not the kubernetes namespace.
   (2) The pod raised by this job can be stopped, but the "Run Status" turned to FAILED.
   
   ### Error Exception
   
   _No response_
   
   ### Screenshots
   
   ![Forced Stop 1](https://user-images.githubusercontent.com/131759638/234234568-047d1ea9-944e-467c-a75f-edba544c4a0c.png)
   ![Forced Stop 2](https://user-images.githubusercontent.com/131759638/234234574-5ce6f353-9606-4437-8090-803c8499a2ca.png)
   ![Forced Stop 3](https://user-images.githubusercontent.com/131759638/234234589-e1c27e21-a446-4e2f-90a4-261ab75ff578.png)
   ![Forced Stop 4](https://user-images.githubusercontent.com/131759638/234234599-7b2f9471-42ad-4fa0-bb92-9f4f9bac46ea.png)
   ![Forced Stop 5](https://user-images.githubusercontent.com/131759638/234234617-f0f3a44a-ee50-4a28-ae65-c57c01856894.png)
   
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!(您是否要贡献这个PR?)
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: issues-unsubscribe@streampark.apache.org.apache.org

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


[GitHub] [incubator-streampark] hunkw123456 commented on issue #2700: Issue occurs when forcefully stop job running in kubernetes application mode

Posted by "hunkw123456 (via GitHub)" <gi...@apache.org>.
hunkw123456 commented on issue #2700:
URL: https://github.com/apache/incubator-streampark/issues/2700#issuecomment-1521469545

   This is a bug, you can address it like this:
   
   StreamPark\streampark-console\streampark-console-service\src\main\java\org\apache\streampark\console\core\service\impl\ApplicationServiceImpl.java:
   
   IngressController.deleteIngress(application.getK8sNamespace(), application.getJobName());
   -->
   IngressController.deleteIngress(application.getJobName(), application.getK8sNamespace());


-- 
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: issues-unsubscribe@streampark.apache.org

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