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

flume

#1

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):
https://archive.cloudera.com/cdh5/cdh/5/flume-ng/FlumeUserGuide.html

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


#2

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


#3

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