You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by cherubimsun <ch...@gmail.com> on 2013/06/18 07:58:21 UTC
how to stop the flume ng?
hi all,
How to stop the flume ng?
When we wanna to start the ng ,we used:bin/flume-ng agent -n agent_name -c conf -f conf/flume-conf.properties.
If we prepare to stop it,usually we will kill the pid of flume ng.But when we kill the process,the hdfs sink file of flume ng will not closed ever.
It's a bug or we have the second way to stop the flume ng??
thanks a lot!
2013-06-18
cherubimsun
Re: Re: how to stop the flume ng?
Posted by Ashish <pa...@gmail.com>.
When you do Ctrl-C, a shutdown hook is invoked which takes care of shutting
down.
Another way would be to quickly expose the Shutdown option via JMX Bean
and invoke it using JConsole/VisualVM.
I have not played with HDFS sink yet, so cannot provide much insight. Best
would be to track this via a JIRA.
On Tue, Jun 18, 2013 at 12:40 PM, cherubimsun <ch...@gmail.com> wrote:
> **
> if we use the kill -9 pid.
>
> When we kill the process,the hdfs sink file of flume ng will not closed
> ever.
> It's a bug or we have the second way to stop the flume ng??
>
>
> thanks very much!
> 2013-06-18
> ------------------------------
> cherubimsun
> ------------------------------
> *发件人:*GuoWei <we...@wbkit.com>
> *发送时间:*2013-06-18 14:28
> *主题:*Re: how to stop the flume ng?
> *收件人:*"user"<us...@flume.apache.org>
> *抄送:*
>
>
>
> ps -ef|grep flume
> kill -9 pid
>
>
> Weibo: http://weibo.com/guowee
> Web: http://www.wbkit.com
> -----------------------------------------------------
> WesternBridge Tech: Professional software service provider. Professional
> is MANNER as well CAPABILITY.
>
> 在 2013-6-18,下午1:58,"cherubimsun" <ch...@gmail.com> 写道:
>
> **
> hi all,
> How to stop the flume ng?
>
> When we wanna to start the ng ,we used:bin/flume-ng agent -n agent_name -c
> conf -f conf/flume-conf.properties.
> If we prepare to stop it,usually we will kill the pid of flume ng.But when
> we kill the process,the hdfs sink file of flume ng will not closed ever.
> It's a bug or we have the second way to stop the flume ng??
>
> thanks a lot!
>
> 2013-06-18
> ------------------------------
> cherubimsun
> **
>
>
>
--
thanks
ashish
Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal
Re: Re: how to stop the flume ng?
Posted by cherubimsun <ch...@gmail.com>.
if we use the kill -9 pid.
When we kill the process,the hdfs sink file of flume ng will not closed ever.
It's a bug or we have the second way to stop the flume ng??
thanks very much!
2013-06-18
cherubimsun
发件人:GuoWei <we...@wbkit.com>
发送时间:2013-06-18 14:28
主题:Re: how to stop the flume ng?
收件人:"user"<us...@flume.apache.org>
抄送:
ps -ef|grep flume
kill -9 pid
Weibo: http://weibo.com/guowee
Web: http://www.wbkit.com
-----------------------------------------------------
WesternBridge Tech: Professional software service provider. Professional is MANNER as well CAPABILITY.
在 2013-6-18,下午1:58,"cherubimsun" <ch...@gmail.com> 写道:
hi all,
How to stop the flume ng?
When we wanna to start the ng ,we used:bin/flume-ng agent -n agent_name -c conf -f conf/flume-conf.properties.
If we prepare to stop it,usually we will kill the pid of flume ng.But when we kill the process,the hdfs sink file of flume ng will not closed ever.
It's a bug or we have the second way to stop the flume ng??
thanks a lot!
2013-06-18
cherubimsun
Re: how to stop the flume ng?
Posted by GuoWei <we...@wbkit.com>.
ps -ef|grep flume
kill -9 pid
Weibo: http://weibo.com/guowee
Web: http://www.wbkit.com
-----------------------------------------------------
WesternBridge Tech: Professional software service provider. Professional is MANNER as well CAPABILITY.
在 2013-6-18,下午1:58,"cherubimsun" <ch...@gmail.com> 写道:
> hi all,
> How to stop the flume ng?
>
> When we wanna to start the ng ,we used:bin/flume-ng agent -n agent_name -c conf -f conf/flume-conf.properties.
> If we prepare to stop it,usually we will kill the pid of flume ng.But when we kill the process,the hdfs sink file of flume ng will not closed ever.
> It's a bug or we have the second way to stop the flume ng??
>
> thanks a lot!
>
> 2013-06-18
> cherubimsun