You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "s0nskar (via GitHub)" <gi...@apache.org> on 2024/12/20 15:23:19 UTC
[PR] [MINOR] Add documentation for `CELEBORN_NO_DAEMONIZE` [celeborn]
s0nskar opened a new pull request, #3020:
URL: https://github.com/apache/celeborn/pull/3020
<!--
Thanks for sending a pull request! Here are some tips for you:
- Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX] Your PR title ...'.
- Be sure to keep the PR description updated to reflect all changes.
- Please write your PR title to summarize what this PR proposes.
- If possible, provide a concise example to reproduce the issue for a faster review.
-->
### What changes were proposed in this pull request?
Add documentation for `CELEBORN_NO_DAEMONIZE`
### Why are the changes needed?
Currently the celeborn processes starts in background and it was difficult to figure out how to change that behaviour. Setting this flag to true, will allow Celeborn processes to run in foreground.
### Does this PR introduce _any_ user-facing change?
NA
### How was this patch tested?
NA
--
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@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [MINOR] Add documentation for `CELEBORN_NO_DAEMONIZE` [celeborn]
Posted by "s0nskar (via GitHub)" <gi...@apache.org>.
s0nskar commented on code in PR #3020:
URL: https://github.com/apache/celeborn/pull/3020#discussion_r1894650673
##########
conf/celeborn-env.sh.template:
##########
@@ -23,8 +23,11 @@
# - CELEBORN_WORKER_JAVA_OPTS
# - CELEBORN_PID_DIR
# - CELEBORN_LOG_DIR
+# - CELEBORN_SSH_OPTS, ssh opts for `start-all` and `stop-all` operations
+# - CELEBORN_SLEEP, Waiting time for `start-all` and `stop-all` operations (e.g. 5, 5s, 5m)
# - CELEBORN_PREFER_JEMALLOC, to enable jemalloc memory allocator
# - CELEBORN_JEMALLOC_PATH, to set jemalloc library path
+# - CELEBORN_NO_DAEMONIZE, set `true` to run the proposed command in the foreground
Review Comment:
@turboFei done
--
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@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [MINOR] Add documentation for `CELEBORN_NO_DAEMONIZE` [celeborn]
Posted by "turboFei (via GitHub)" <gi...@apache.org>.
turboFei commented on code in PR #3020:
URL: https://github.com/apache/celeborn/pull/3020#discussion_r1894551526
##########
conf/celeborn-env.sh.template:
##########
@@ -23,8 +23,11 @@
# - CELEBORN_WORKER_JAVA_OPTS
# - CELEBORN_PID_DIR
# - CELEBORN_LOG_DIR
+# - CELEBORN_SSH_OPTS, ssh opts for `start-all` and `stop-all` operations
+# - CELEBORN_SLEEP, Waiting time for `start-all` and `stop-all` operations (e.g. 5, 5s, 5m)
# - CELEBORN_PREFER_JEMALLOC, to enable jemalloc memory allocator
# - CELEBORN_JEMALLOC_PATH, to set jemalloc library path
+# - CELEBORN_NO_DAEMONIZE, set `true` to run the proposed command in the foreground
Review Comment:
should we update the value of `CELEBORN_NO_DAEMONIZE` in helm charts to align?
Likes:
https://github.com/apache/celeborn/blob/a357df94f1c1b62aa1d10885f8e815836253e6f0/charts/celeborn/values.yaml#L131
--
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@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [MINOR] Add documentation for `CELEBORN_NO_DAEMONIZE` [celeborn]
Posted by "FMX (via GitHub)" <gi...@apache.org>.
FMX commented on code in PR #3020:
URL: https://github.com/apache/celeborn/pull/3020#discussion_r1894540701
##########
docs/configuration/index.md:
##########
@@ -138,21 +138,22 @@ end="<!--end-include-->"
Recommend configuring in `conf/celeborn-env.sh`.
-| Key | Default | Description |
-|----------------------------------|-------------------------------------------------|--------------------------------------------------------|
-| `CELEBORN_HOME` | ``$(cd "`dirname "$0"`"/..; pwd)`` | |
-| `CELEBORN_CONF_DIR` | `${CELEBORN_CONF_DIR:-"${CELEBORN_HOME}/conf"}` | |
-| `CELEBORN_MASTER_MEMORY` | 1 GB | |
-| `CELEBORN_WORKER_MEMORY` | 1 GB | |
-| `CELEBORN_WORKER_OFFHEAP_MEMORY` | 1 GB | |
-| `CELEBORN_MASTER_JAVA_OPTS` | | |
-| `CELEBORN_WORKER_JAVA_OPTS` | | |
-| `CELEBORN_PID_DIR` | `${CELEBORN_HOME}/pids` | |
-| `CELEBORN_LOG_DIR` | `${CELEBORN_HOME}/logs` | |
-| `CELEBORN_SSH_OPTS` | `-o StrictHostKeyChecking=no` | |
-| `CELEBORN_SLEEP` | | Waiting time for `start-all` and `stop-all` operations |
-| `CELEBORN_PREFER_JEMALLOC` | | set `true` to enable jemalloc memory allocator |
-| `CELEBORN_JEMALLOC_PATH` | | jemalloc library path |
+| Key | Default | Description |
+|----------------------------------|-------------------------------------------------|-----------------------------------------------------------|
+| `CELEBORN_HOME` | ``$(cd "`dirname "$0"`"/..; pwd)`` | |
+| `CELEBORN_CONF_DIR` | `${CELEBORN_CONF_DIR:-"${CELEBORN_HOME}/conf"}` | |
+| `CELEBORN_MASTER_MEMORY` | 1 GB | |
+| `CELEBORN_WORKER_MEMORY` | 1 GB | |
+| `CELEBORN_WORKER_OFFHEAP_MEMORY` | 1 GB | |
+| `CELEBORN_MASTER_JAVA_OPTS` | | |
+| `CELEBORN_WORKER_JAVA_OPTS` | | |
+| `CELEBORN_PID_DIR` | `${CELEBORN_HOME}/pids` | |
+| `CELEBORN_LOG_DIR` | `${CELEBORN_HOME}/logs` | |
+| `CELEBORN_SSH_OPTS` | `-o StrictHostKeyChecking=no` | |
+| `CELEBORN_SLEEP` | | Waiting time for `start-all` and `stop-all` operations |
+| `CELEBORN_PREFER_JEMALLOC` | | set `true` to enable jemalloc memory allocator |
+| `CELEBORN_JEMALLOC_PATH` | | jemalloc library path |
+| `CELEBORN_NO_DAEMONIZE` | | set `true` to run the proposed command in the foreground. |
Review Comment:
How about adding this item to the celeborn-env template file?
--
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@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [MINOR] Add documentation for `CELEBORN_NO_DAEMONIZE` [celeborn]
Posted by "FMX (via GitHub)" <gi...@apache.org>.
FMX closed pull request #3020: [MINOR] Add documentation for `CELEBORN_NO_DAEMONIZE`
URL: https://github.com/apache/celeborn/pull/3020
--
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@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [MINOR] Add documentation for `CELEBORN_NO_DAEMONIZE` [celeborn]
Posted by "s0nskar (via GitHub)" <gi...@apache.org>.
s0nskar commented on code in PR #3020:
URL: https://github.com/apache/celeborn/pull/3020#discussion_r1894550867
##########
docs/configuration/index.md:
##########
@@ -138,21 +138,22 @@ end="<!--end-include-->"
Recommend configuring in `conf/celeborn-env.sh`.
-| Key | Default | Description |
-|----------------------------------|-------------------------------------------------|--------------------------------------------------------|
-| `CELEBORN_HOME` | ``$(cd "`dirname "$0"`"/..; pwd)`` | |
-| `CELEBORN_CONF_DIR` | `${CELEBORN_CONF_DIR:-"${CELEBORN_HOME}/conf"}` | |
-| `CELEBORN_MASTER_MEMORY` | 1 GB | |
-| `CELEBORN_WORKER_MEMORY` | 1 GB | |
-| `CELEBORN_WORKER_OFFHEAP_MEMORY` | 1 GB | |
-| `CELEBORN_MASTER_JAVA_OPTS` | | |
-| `CELEBORN_WORKER_JAVA_OPTS` | | |
-| `CELEBORN_PID_DIR` | `${CELEBORN_HOME}/pids` | |
-| `CELEBORN_LOG_DIR` | `${CELEBORN_HOME}/logs` | |
-| `CELEBORN_SSH_OPTS` | `-o StrictHostKeyChecking=no` | |
-| `CELEBORN_SLEEP` | | Waiting time for `start-all` and `stop-all` operations |
-| `CELEBORN_PREFER_JEMALLOC` | | set `true` to enable jemalloc memory allocator |
-| `CELEBORN_JEMALLOC_PATH` | | jemalloc library path |
+| Key | Default | Description |
+|----------------------------------|-------------------------------------------------|-----------------------------------------------------------|
+| `CELEBORN_HOME` | ``$(cd "`dirname "$0"`"/..; pwd)`` | |
+| `CELEBORN_CONF_DIR` | `${CELEBORN_CONF_DIR:-"${CELEBORN_HOME}/conf"}` | |
+| `CELEBORN_MASTER_MEMORY` | 1 GB | |
+| `CELEBORN_WORKER_MEMORY` | 1 GB | |
+| `CELEBORN_WORKER_OFFHEAP_MEMORY` | 1 GB | |
+| `CELEBORN_MASTER_JAVA_OPTS` | | |
+| `CELEBORN_WORKER_JAVA_OPTS` | | |
+| `CELEBORN_PID_DIR` | `${CELEBORN_HOME}/pids` | |
+| `CELEBORN_LOG_DIR` | `${CELEBORN_HOME}/logs` | |
+| `CELEBORN_SSH_OPTS` | `-o StrictHostKeyChecking=no` | |
+| `CELEBORN_SLEEP` | | Waiting time for `start-all` and `stop-all` operations |
+| `CELEBORN_PREFER_JEMALLOC` | | set `true` to enable jemalloc memory allocator |
+| `CELEBORN_JEMALLOC_PATH` | | jemalloc library path |
+| `CELEBORN_NO_DAEMONIZE` | | set `true` to run the proposed command in the foreground. |
Review Comment:
Done, added other missing variables as well. PTAL.
--
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@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [MINOR] Add documentation for `CELEBORN_NO_DAEMONIZE` [celeborn]
Posted by "s0nskar (via GitHub)" <gi...@apache.org>.
s0nskar commented on code in PR #3020:
URL: https://github.com/apache/celeborn/pull/3020#discussion_r1894650673
##########
conf/celeborn-env.sh.template:
##########
@@ -23,8 +23,11 @@
# - CELEBORN_WORKER_JAVA_OPTS
# - CELEBORN_PID_DIR
# - CELEBORN_LOG_DIR
+# - CELEBORN_SSH_OPTS, ssh opts for `start-all` and `stop-all` operations
+# - CELEBORN_SLEEP, Waiting time for `start-all` and `stop-all` operations (e.g. 5, 5s, 5m)
# - CELEBORN_PREFER_JEMALLOC, to enable jemalloc memory allocator
# - CELEBORN_JEMALLOC_PATH, to set jemalloc library path
+# - CELEBORN_NO_DAEMONIZE, set `true` to run the proposed command in the foreground
Review Comment:
@turboFei done, replace 1 with `true`
--
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@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org