Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


+
Jun Rao 2013-11-11, 05:14
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)

 
+
Raymond Liu 2013-11-18, 00:55
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB