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 Threaded View
Flume >> mail # user >> How to run flume-mg in background?


Copy link to this message
-
Re: How to run flume-mg in background?
We use "nohup <command> &" and record the process id after.

I'm pretty sure the cdh distribution of flume does the same, so you
might want to have a look at that if you want a ready made init.d file
and whatnot

On 01/22/2013 05:48 PM, GuoWei wrote:
> Thanks a lot
>
> I try to use nohup at the beginning of the flume-mg. It seems also works.
>
> Do you try that ?
>
> Thanks
>
> On 2013-1-22, at 锟斤拷锟斤拷4:34, Nitin Pawar <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>> also try ending the command with &
>>
>>
>> On Tue, Jan 22, 2013 at 2:02 PM, Connor Woodson
>> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>     Easiest way I have found is to run it in a screen instance:
>>
>>     $ screen -R <unique name>
>>     (you're now in a screen instance)
>>     $ <run flume>
>>     (type Ctrl-a then d to leave screen; to go back to that instance,
>>     retype the command from above)
>>
>>     - Connor
>>
>>
>>     On Mon, Jan 21, 2013 at 10:38 PM, GuoWei <[EMAIL PROTECTED]
>>     <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>         Dear all,
>>
>>         Can you tell me how to start flume-mg agent in background mode ?
>>
>>         Thanks a lot.
>>
>>
>>
>>         Best Regards / 锟斤拷锟斤拷
>>         锟斤拷伟Guo Wei
>>         -----------------------------------------------------
>>         锟较撅拷锟斤拷锟脚科硷拷锟斤拷锟睫癸拷司
>>         Western Bridge Tech Ltd.,Nanjing
>>
>>         锟较撅拷锟斤拷锟斤拷锟斤拷锟斤拷园路8锟斤拷一锟斤拷楼511
>>         No. 511, Building 1, No. 8,Hua Yuan Road
>>
>>         Xuanwu District, Nanjing, PRChina
>>
>>         Email: [EMAIL PROTECTED] <http://wbkit.com/>
>>
>>         Tel: +86 25 8528 4900 <tel:%2B86%2025%208528%204900>(Operator)
>>         Mobile: +86 138 1589 8257 <tel:%2B86%20138%C2%A01589%C2%A08257>
>>         Fax: +86 25 8528 4980 <tel:%2B86%2025%208528%204980>
>>
>>         Weibo: http://weibo.com/guowee
>>         Web: http://www.wbkit.com <http://www.wbkit.com/>
>>         -----------------------------------------------------
>>         WesternBridge Tech: Professional software service provider.
>>         Professional is MANNER as well CAPABILITY.
>>
>>
>>
>>
>>
>> --
>> Nitin Pawar
>

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