[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、重新执行
原创文章,作者:carmelaweatherly,如若转载,请注明出处:https://blog.ytso.com/194072.html