You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/10/19 10:14:34 UTC

[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #12443: [Improvement][Module Name] The startup command adds EXEC to standardize containerized deployment

github-actions[bot] commented on issue #12443:
URL: https://github.com/apache/dolphinscheduler/issues/12443#issuecomment-1283764833

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   In the Docker container, the PID1 process is the init process, which is also responsible for the internal process management of the container. So in the dolphin scheduler's container, the PID1 process should be a java process.
   
   1. However, in the 3.1.0 and dev branches, after containerized deployment, PID1 is "/bin/bash./bin/start. sh", not the main java process:
   <img width="1827" alt="企业微信截图_a16cb7d6-5622-47c3-a77a-995f11a92d88" src="https://user-images.githubusercontent.com/22407119/196662718-df51d618-03c6-4f60-af9c-5a8fec1b35ce.png">
   
   2. After the exec command is added to the startup command of the start.sh script of the corresponding module:
   ![image](https://user-images.githubusercontent.com/22407119/196663031-2a10ab5f-4534-45de-b143-280dd6765521.png)
   To deploy the service service again, PID1 is the java process:
   <img width="1768" alt="企业微信截图_ad8f1efc-ccff-4c8e-adda-522c443bf253" src="https://user-images.githubusercontent.com/22407119/196663262-b1e51670-87cd-4db4-aff8-064bfd50300a.png">
   
   
   
   ### Are you willing to submit a 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: commits-unsubscribe@dolphinscheduler.apache.org

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