Search code examples
apachehadoopclouderaflume

Is it possible to run Apache Flume as daemon service?


I would like to ask- how can I run Apache Flume as a Linux daemon service? I know that Cloudera in CDH and Hortonworks in HDH are doing it with their third party distribution Hadoops. But how can I do it with ordinary Hadoop and Flume from Apache?


Solution

  • Run the flume agent using nohup such as:-

    nohup bin/flume-ng agent -n agent_name -c conf -f conf/flume-conf.properties.template &