Flume logs are stored in /var/log/Bigdata/flume/flume/flumeServer.log. Most data transmission exceptions and data transmission failures are recorded in logs. You can run the following command:
tailf /var/log/Bigdata/flume/flume/flumeServer.log
Solution: Restart the Flume process, run the kill -9 Process code to kill the process code, and view the logs.
Solution: Grant the read and write permissions to the Flume running user.
Caused by: java.io.IOException: /opt/FlumeClient/fusioninsight-flume-1.9.0/cof//jaas.conf (No such file or directory)
Solution: Add the jaas.conf configuration file and save it to the conf directory of the Flume client.
vi jaas.conf
KafkaClient { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/opt/test/conf/user.keytab" principal="flume_hdfs@<System domain name>" useTicketCache=false storeKey=true debug=true; };
Values of keyTab and principal vary depending on the actual situation.
Caused by: java.io.IOException: /opt/FlumeClient/fusioninsight-flume-1.9.0/cof//jaas.conf (No such file or directory)
Solution: Add the jaas.conf configuration file and save it to the conf directory of the Flume client.
vi jaas.conf
Client { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true keyTab="/opt/test/conf/user.keytab" principal="flume_hbase@<System domain name>" useTicketCache=false storeKey=true debug=true; };
Values of keyTab and principal vary depending on the actual situation.