I’m currently working on the beginning of apache flume.
Getting errors while trying to load data to hdfs -
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hdp/188.8.131.52-292/flume/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hdp/184.108.40.206-292/flume/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
2018-08-28 01:39:08,861 main ERROR Unable to create file /var/log/flume-ng/flume.log java.io.IOException: Could not create directory /var/log/flume-ng
Have tried doing the same multiple times by deleting all the directories from local and hdfs but is getting stuck at the same point.
Also, no directory is created at hdfs when I’m trying to run the agent for the example.conf as well.
There are multiple errors in the log some of which are attached.
Any help asap is appreciated.