Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
1.1.0
-
None
-
None
Description
With the config below, if you remove hadoop from the classpath and then try and start the flume source agent and flume collector agents, flume is dead quiet. NO errors nothing.
tail1.sources = src1 tail1.channels = ch1 tail1.sinks = sink1 sink2 tail1.sinkgroups = sg1 tail1.sources.src1.type = exec tail1.sources.src1.command = tail -F /tmp/acess_log tail1.sources.src1.channels = ch1 tail1.channels.ch1.type = memory tail1.channels.ch1.capacity = 500 tail1.sinks.sink1.type = avro tail1.sinks.sink1.hostname = localhost tail1.sinks.sink1.port = 6000 tail1.sinks.sink1.batch-size = 1 tail1.sinks.sink1.channel = ch1 tail1.sinks.sink2.type = avro tail1.sinks.sink2.hostname = localhost tail1.sinks.sink2.port = 6001 tail1.sinks.sink2.batch-size = 1 tail1.sinks.sink2.channel = ch1 tail1.sinkgroups.sg1.sinks = sink1 sink2 tail1.sinkgroups.sg1.processor.type = failover tail1.sinkgroups.sg1.processor.priority.sink1 = 1 tail1.sinkgroups.sg1.processor.priority.sink2 = 2 ###################################################### collector1.sources = src1 collector1.channels = ch1 collector1.sinks = sink1 collector1.sources.src1.type = avro collector1.sources.src1.bind = localhost collector1.sources.src1.port = 6000 collector1.sources.src1.channels = ch1 collector1.channels.ch1.type = memory collector1.channels.ch1.capacity = 500 collector1.sinks.sink1.type = hdfs collector1.sinks.sink1.hdfs.path = collector1 collector1.sinks.sink1.hdfs.filePrefix = access_log collector1.sinks.sink1.channel = ch1 ###################################################### collector2.sources = src1 collector2.channels = ch1 collector2.sinks = sink1 collector2.sources.src1.type = avro collector2.sources.src1.bind = localhost collector2.sources.src1.port = 6001 collector2.sources.src1.channels = ch1 collector2.channels.ch1.type = memory collector2.channels.ch1.capacity = 500 collector2.sinks.sink1.type = hdfs collector2.sinks.sink1.hdfs.path = collector2 collector2.sinks.sink1.hdfs.filePrefix = access_log collector2.sinks.sink1.channel = ch1
Attachments
Issue Links
- duplicates
-
FLUME-1093 HDFSEventSink gives no indication of failure when Hadoop jars aren't in the classpath
- Resolved