Hi I am trying to use Flume HTTP Handler . But getting an error while starting the agent. I am using CDH4.3
Command failed to run because this role has invalid configuration. Review and correct its configuration. First error: Component tier1: Configuration of component failed. ("#httpsrc") This is the conf I am using . It worked when I used netcat source. tier1.sources = httpsrc1 tier1.channels = c1 tier1.sinks = sink1 # For each source, channel, and sink, set # standard properties. #tier1.sources.source1.type = netcat #tier1.sources.source1.bind = 127.0.0.1 #tier1.sources.source1.port = 9999 #tier1.sources.source1.channels = c1 tier1.sources.httpsrc1.bind = 127.0.0.1 tier1.sources.httpsrc1.type = http tier1.sources.httpsrc1.port = 9999 tier1.sources.httpsrc1.channels = c1 tier1.sources.httpsrc1.handler =org.apache.flume.source.http.JSONHandler tier1.sources.httpsrc1.handler.nickname = HTTPTesting tier1.channels.c1.type = memory tier1.channels.c1.capacity = 10 #tier1.sinks.sink1.type = logger tier1.sinks.sink1.channel = c1 tier1.sinks.sink1.type = hdfs tier1.sinks.sink1.hdfs.path = /tmp/flumecollector tier1.sinks.sink1.hdfs.filePrefix = access_log -- Deepak Subhramanian