Please check out:
http://archive.cloudera.com/cdh/3/flume/UserGuide/index.html#_output_bucketing
for output bucketing.
And for collectorSink():
http://archive.cloudera.com/cdh/3/flume/UserGuide/index.html#_flume_sinks_catalog
In addition, please try it on you env to see the behaviors (since i
never tried %{rolltag} before :) ).
-mingjie
On 11/10/2011 01:12 AM, Mohammad Tariq wrote:
Could anyone tell me the difference between the following two commands -
1 - node1 : text("/home/tariq/file1") | agentSink("localhost",35853);
node2 : collectorSource(35853) |
collectorSink("file:///home/tariq/","fff");
2 - node1 : text("/home/tariq/file1") | agentSink("localhost",35853);
node2 : collectorSource(35853) |
collectorSink("file/home/tariq/","fff%{rolltag}");
Regards,
Mohammad Tariq