SbloodyS opened a new issue #6392:
URL: https://github.com/apache/dolphinscheduler/issues/6392


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   When I click the stop button in the process instance page.I got the 
following error and stop failed alert.
   ```
   [INFO] 2021-09-28 07:30:52.736 
org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[87] - 
received kill command : TaskKillRequestCommand{taskInstanceId=271061}
   [INFO] 2021-09-28 07:30:52.906 
org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[171] - 
view log host : 192.168.24.254,logPath : 
/mnt/dolphinscheduler/server/logs/104/24721/271061.log
   [INFO] 2021-09-28 07:30:52.906 
org.apache.dolphinscheduler.service.log.LogClientService:[100] - view log path 
/mnt/dolphinscheduler/server/logs/104/24721/271061.log
   [INFO] 2021-09-28 07:30:52.908 
org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[91] - 
find app id: application_1626315659206_543457
   [INFO] 2021-09-28 07:30:52.910 
org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[344] - 
kill cmd:sudo -u hadoop sh 
/data/dolphinscheduler/data/exec/process/1/104/24721/271061/application_1626315659206_543457.kill
   [ERROR] 2021-09-28 07:30:54.146 
org.apache.dolphinscheduler.server.worker.processor.TaskKillProcessor:[347] - 
Kill yarn application app id [application_1626315659206_543457] failed: 
[21/09/28 07:30:53 INFO client.RMProxy: Connecting to ResourceManager at 
ip-192-168-24-254.us-west-2.compute.internal/192.168.24.254:8032
   21/09/28 07:30:53 INFO client.AHSProxy: Connecting to Application History 
server at ip-192-168-24-254.us-west-2.compute.internal/192.168.24.254:10200
   21/09/28 07:30:54 INFO impl.YarnClientImpl: Killed application 
application_1626315659206_543457
   ]
   [INFO] 2021-09-28 07:30:54.146 
org.apache.dolphinscheduler.remote.NettyRemotingClient:[403] - netty client 
closed
   [INFO] 2021-09-28 07:30:54.146 
org.apache.dolphinscheduler.service.log.LogClientService:[59] - logger client 
closed
   [INFO] 2021-09-28 07:30:54.885  - [taskAppId=TASK-104-24721-271061]:[238] - 
process has exited, execute 
path:/data/dolphinscheduler/data/exec/process/1/104/24721/271061, 
processId:17891 ,exitStatusCode:-1 ,processWaitForStatus:true 
,processExitValue:0
   ```
   
   ### What you expected to happen
   
   Since yarn app has been successfully killed.and shell command exitcode is 
0.Stop result should be succces.I don't know what's went wrong.Please help me.
   
   ### How to reproduce
   
   flink/bin/sql-client.sh embedded <<EOF
   $command
   EOF
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to