# example.conf: A single-node Flume configuration# Name the components on this agenta1.sources=r1a1.sinks=k1a1.channels=c1# Describe/configure the sourcea1.sources.r1.type=netcata1.sources.r1.bind=localhosta1.sources.r1.port=44444# Describe the sinka1.sinks.k1.type=logger# Use a channel which buffers events in memorya1.channels.c1.type=memorya1.channels.c1.capacity=1000a1.channels.c1.transactionCapacity=100# Bind the source and sink to the channela1.sources.r1.channels=c1a1.sinks.k1.channel=c1
# list the sources, sinks and channels for the agent.sources=.sinks=.channels=# set channel for source.sources..channels= ...# set channel for sink.sinks..channel=
# list the sources, sinks and channels for the agentagent_foo.sources=avro-appserver-src-1agent_foo.sinks=hdfs-sink-1agent_foo.channels=mem-channel-1# set channel for sourceagent_foo.sources.avro-appserver-src-1.channels=mem-channel-1# set channel for sinkagent_foo.sinks.hdfs-sink-1.channel=mem-channel-1
agent_foo.sources=avro-AppSrv-sourceagent_foo.sinks=hdfs-Cluster1-sinkagent_foo.channels=mem-channel-1# set channel for sources, sinks# properties of avro-AppSrv-sourceagent_foo.sources.avro-AppSrv-source.type=avroagent_foo.sources.avro-AppSrv-source.bind=localhostagent_foo.sources.avro-AppSrv-source.port=10000# properties of mem-channel-1agent_foo.channels.mem-channel-1.type=memoryagent_foo.channels.mem-channel-1.capacity=1000agent_foo.channels.mem-channel-1.transactionCapacity=100# properties of hdfs-Cluster1-sinkagent_foo.sinks.hdfs-Cluster1-sink.type=hdfsagent_foo.sinks.hdfs-Cluster1-sink.hdfs.path=hdfs://namenode/flume/webdata
# list the sources, sinks and channels in the agentagent_foo.sources=avro-AppSrv-source1 exec-tail-source2agent_foo.sinks=hdfs-Cluster1-sink1 avro-forward-sink2agent_foo.channels=mem-channel-1 file-channel-2# flow #1 configurationagent_foo.sources.avro-AppSrv-source1.channels=mem-channel-1agent_foo.sinks.hdfs-Cluster1-sink1.channel=mem-channel-1# flow #2 configurationagent_foo.sources.exec-tail-source2.channels=file-channel-2agent_foo.sinks.avro-forward-sink2.channel=file-channel-2
# list sources, sinks and channels in the agentagent_foo.sources=avro-AppSrv-sourceagent_foo.sinks=avro-forward-sinkagent_foo.channels=file-channel# define the flowagent_foo.sources.avro-AppSrv-source.channels=file-channelagent_foo.sinks.avro-forward-sink.channel=file-channel# avro sink propertiesagent_foo.sources.avro-forward-sink.type=avroagent_foo.sources.avro-forward-sink.hostname=10.1.1.100agent_foo.sources.avro-forward-sink.port=10000# configure other pieces#...
hdfs agent 配置
# list sources, sinks and channels in the agentagent_foo.sources=avro-collection-sourceagent_foo.sinks=hdfs-sinkagent_foo.channels=mem-channel# define the flowagent_foo.sources.avro-collection-source.channels=mem-channelagent_foo.sinks.hdfs-sink.channel=mem-channel# avro sink propertiesagent_foo.sources.avro-collection-source.type=avroagent_foo.sources.avro-collection-source.bind=10.1.1.100agent_foo.sources.avro-collection-source.port=10000# configure other pieces#...
# List the sources, sinks and channels for the agent.sources=.sinks=.channels=# set list of channels for source (separated by space).sources..channels=# set channel for sinks.sinks..channel=.sinks..channel=.sources..selector.type=replicating
# Mapping for multiplexing selector.sources..selector.type=multiplexing.sources..selector.header=.sources..selector.mapping.=.sources..selector.mapping.=.sources..selector.mapping.=#....sources..selector.default=
# list the sources, sinks and channels in the agentagent_foo.sources=avro-AppSrv-source1agent_foo.sinks=hdfs-Cluster1-sink1 avro-forward-sink2agent_foo.channels=mem-channel-1 file-channel-2# set channels for sourceagent_foo.sources.avro-AppSrv-source1.channels=mem-channel-1 file-channel-2# set channel for sinksagent_foo.sinks.hdfs-Cluster1-sink1.channel=mem-channel-1agent_foo.sinks.avro-forward-sink2.channel=file-channel-2# channel selector configurationagent_foo.sources.avro-AppSrv-source1.selector.type=multiplexingagent_foo.sources.avro-AppSrv-source1.selector.header=Stateagent_foo.sources.avro-AppSrv-source1.selector.mapping.CA=mem-channel-1agent_foo.sources.avro-AppSrv-source1.selector.mapping.AZ=file-channel-2agent_foo.sources.avro-AppSrv-source1.selector.mapping.NY=mem-channel-1 file-channel-2agent_foo.sources.avro-AppSrv-source1.selector.default=mem-channel-1
转:http://stackoverflow.com/questions/18145774/eclipse-an-error-occurred-while-filtering-resources
maven报错:
maven An error occurred while filtering resources
Maven -> Update Proje
在SVN服务控制台打开资源库“SVN无法读取current” ---摘自网络 写道 SVN无法读取current修复方法 Can't read file : End of file found
文件:repository/db/txn_current、repository/db/current
其中current记录当前最新版本号,txn_current记录版本库中版本