Java.nio.charset.MalformedInputException: Input le
[ERROR-org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run (SpoolDirectorySource.java:256)] FATAL: SpoolDirectory source source1: {spoolDir: / flume/log/}: Uncaught exception in SpoolDirectorySource thread. Restart or reconfigure Flume to continue processing.
Java.nio.charset.MalformedInputException: Input length = 1
1. Check whether the configuration file contains Chinese characters
2. Add to the configuration file
Ag1.sources.source1.inputCharset=GBK
3. Update the uploaded file (remove Chinese characters)
4. Re-execute