[ERROR - org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run(SpoolDirectorySource.java:256)] FATAL: Spool Directory 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、查看配置文件是否有中文字符
2、配置文件中增加
ag1.sources.source1.inputCharset=GBK
3、重新更新上传文件的(去除中文字符)
4、重新执行
原文地址:https://blog.51cto.com/14074978/2398793
时间: 2024-11-13 09:24:45