Apache-flume Error


#1

Hi,

I am not able to start flume-agent with avro source.

ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property ‘log4j2.debug’ to show Log4j2 internal initialization logging.

config file:
a1.sources = r1
a1.sinks = k1
a1.channels = c1

Describe/configure the source

a1.sources.r1.type = avro
a1.sources.r1.bind = localhost
a1.sources.r1.port = 11112

Describe the sink

a1.sinks.k1.type = hdfs
a1.sinks.k1.hdfs.path = /user/respond474/problem7/sink
a1.sinks.k1.hdfs.fileSuffix = .avro
a1.sinks.k1.hdfs.fileType = DataStream
a1.sinks.k1.hdfs.serializer = avro_event

Use a channel which buffers events in memory

a1.channels.c1.type = jdbc

Bind the source and sink to the channel

a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1

Could you please help.


#2

@respond474

What is the invoking command used here?