Professional Documents
Culture Documents
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
Menu
http://thisandthat.io/blog/flume-part3/
1/9
8/23/2015
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
Objective
http://thisandthat.io/blog/flume-part3/
2/9
8/23/2015
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
Objective
To cat a text file on server 1 and pass the data via flume to server 2 and write the data to a file on server 2
What we will do: We will cat a file and pass that data to flume on server1 and that data will be passed to server2s
flume and written to a file on server2
http://thisandthat.io/blog/flume-part3/
3/9
8/23/2015
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
flume_send.conf
http://thisandthat.io/blog/flume-part3/
4/9
8/23/2015
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
flume_send.conf
I am using port 4545. You will have to make sure that port is open on Server 2
flume_write.conf
8/23/2015
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
flume_write.conf
8/23/2015
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
ON SERVER 1
cd apache-flume/
http://thisandthat.io/blog/flume-part3/
7/9
8/23/2015
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
Output
When flume runs, it should WRITE the contents of file.txt on Server 2 in the directory path you provided in the conf
file.
0 Comments
thisandthat.io
Share
Recommend
Login
Sort by Best
Subscribe
Privacy
http://thisandthat.io/blog/flume-part3/
8/9
8/23/2015
Apache Flume Tutorial : Send data to another server and write that data to a file This And That
Previous
Next
http://thisandthat.io/blog/flume-part3/
9/9