Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Java.nio.charset.MalformedInputException: Input le

Shulou Source: shulou.com Published: 2022-06-03 04:53:09 11月25日 Update

[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

Tags: File character configuration Chinese update Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Shulou Technology Shulou Information NVidia Xiaomi