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:18 UTC

[GitHub] [dolphinscheduler] liqiquan opened a new issue, #12443: [Improvement][Module Name] The startup command adds EXEC to standardize containerized deployment

liqiquan opened a new issue, #12443:
URL: https://github.com/apache/dolphinscheduler/issues/12443

   ### 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.apache.org

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


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

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12443:
URL: https://github.com/apache/dolphinscheduler/issues/12443#issuecomment-1283765181

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


-- 
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


[GitHub] [dolphinscheduler] github-actions[bot] closed issue #12443: [Improvement][ALL][Docker deployment] The startup command adds EXEC to standardize containerized deployment

Posted by github-actions.
github-actions[bot] closed issue #12443: [Improvement][ALL][Docker deployment] The startup command adds EXEC to standardize containerized deployment
URL: https://github.com/apache/dolphinscheduler/issues/12443


-- 
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


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

Posted by GitBox <gi...@apache.org>.
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


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

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12443:
URL: https://github.com/apache/dolphinscheduler/issues/12443#issuecomment-1320696078

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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


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

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

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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