Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> [jira] [Commented] (KAFKA-1127) kafka and zookeeper server should start in daemon mode and log to correct position


Copy link to this message
-
[jira] [Commented] (KAFKA-1127) kafka and zookeeper server should start in daemon mode and log to correct position

    [ https://issues.apache.org/jira/browse/KAFKA-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822231#comment-13822231 ]

Raymond Liu commented on KAFKA-1127:
------------------------------------

v3 patch enable to choose whether to start server in daemon mode or not. by default, not change the original behavior ( say server run in fg )

> kafka and zookeeper server should start in daemon mode and log to correct position
> ----------------------------------------------------------------------------------
>
>                 Key: KAFKA-1127
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1127
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.9
>            Reporter: Raymond Liu
>            Priority: Minor
>         Attachments: kafka-1127-v2.patch, kafka-1127-v3.patch, kafka-1127.patch
>
>
> Hi
> At present, the kafka-server-start.sh and zookeeper-server-start.sh will start kafka broker and zookeeper in fg mode, though "daemon" parameter is added. you need to add & to make it bg. But the console log will still output in fg.
> Should make it fully run in bg and redirect console log to files. And log file position should not depends on where the cmd is running. Thus it will be more friendly for scripts to launch server on nodes by batch.

--
This message was sent by Atlassian JIRA
(v6.1#6144)