Not able to start flume agent and send messages (messages not displaying on Sink)



The flume agent starts with the following warning in the lab:
Warning: No configuration directory set! Use --conf <dir> to override.Warning: JAVA_HOME is not set!
and at the end I get :
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only error
s to the console. Set system property ‘log4j2.debug’ to show Log4j2 internal initialization logging.

The configuration is the sample provided at (simple example):

I can telnet, but the sink doesn’t display the messages typed. What else do I have to do?


This is a problem for all types including hdfs. Nothing is getting written out…what am I missing here?


@Uttam_Shikarpur Please refer the topic Flume ERROR StatusLogger No log4j2 configuration file found