You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flume.apache.org by lancexxx <fe...@gmail.com> on 2012/10/26 20:54:44 UTC
the avro source
hi
now I use a avro source ,what can I use to send weblog (client) to the avro source on the web server host?
I use the "flume-ng avrò-client -H x.x.x.x -p 41414 -F /var/log/message" command but
when the file send complete while be exit in normal, I mean it not be like "tail -f " could track
the log once engender will be sended to the source.
in other words,I do not understand what tool or command I should use on web server send the log to every source
type like syslogtcp/udp,avro,netcat.
help me ,thanks very much.
--
lancexxx
Re: the avro source
Posted by Brock Noland <br...@cloudera.com>.
Hi,
avro-client does not work like tail -F. It simply sends a single file
and stops. If you want to use tail -F, you should use ExecSource.
Brock
On Fri, Oct 26, 2012 at 1:54 PM, lancexxx <fe...@gmail.com> wrote:
> hi
> now I use a avro source ,what can I use to send weblog (client) to the avro
> source on the web server host?
> I use the "flume-ng avrò-client -H x.x.x.x -p 41414 -F /var/log/message"
> command but
> when the file send complete while be exit in normal, I mean it not be like
> "tail -f " could track
> the log once engender will be sended to the source.
> in other words,I do not understand what tool or command I should use on web
> server send the log to every source
> type like syslogtcp/udp,avro,netcat.
> help me ,thanks very much.
>
> --
> lancexxx
>
--
Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/