java.nio.charset.MalformedInputException

Input length = 1 at java.nio.charset.CoderResult.throwException(CoderR esult.java:277) at org.apache.flume.serialization.ResettableFileInput Stream.readChar(ResettableFileInputStream.java:282 ) at org.apache.flume.serialization.LineDeserializer.re adLine(LineDeserializer.java:133) at org.apache.flume.serialization.LineDeserializer.re adEvent(LineDeserializer.java:71) at org.apache.flume.serialization.LineDeserializer.re adEvents(LineDeserializer.java:90) at org.apache.flume.client.avro.ReliableSpoolingFileE ventReader.readEvents(ReliableSpoolingFileEventRea der.java:252) at org.apache.flume.source.SpoolDirectorySource$Spool DirectoryRunnable.run(SpoolDirectorySource.java:22 8) at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(Future Task.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$301(ScheduledThreadPoolE xecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:293)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web281

  • via cloudera.com by Unknown author, 10 months ago
    (Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(Future Task.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$301(ScheduledThreadPoolE xecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:293)
  • via GitHub by austindsouza
    , 1 year ago
    :241) > > at > > > org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run(SpoolDirectorySource.java:219) > > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
  • via GitHub by witokondoria
    , 1 year ago
    Input length = 1 at java.nio.charset.CoderResult.throwException(CoderResult.java:277) at org.apache.flume.serialization.ResettableInputStreamReader.readInternal(ResettableInputStreamReader.java:405) at
  • Stack trace

    • java.nio.charset.MalformedInputException: Input length = 1 at java.nio.charset.CoderResult.throwException(CoderR esult.java:277) at org.apache.flume.serialization.ResettableFileInput Stream.readChar(ResettableFileInputStream.java:282 ) at org.apache.flume.serialization.LineDeserializer.re adLine(LineDeserializer.java:133) at org.apache.flume.serialization.LineDeserializer.re adEvent(LineDeserializer.java:71) at org.apache.flume.serialization.LineDeserializer.re adEvents(LineDeserializer.java:90) at org.apache.flume.client.avro.ReliableSpoolingFileE ventReader.readEvents(ReliableSpoolingFileEventRea der.java:252) at org.apache.flume.source.SpoolDirectorySource$Spool DirectoryRunnable.run(SpoolDirectorySource.java:22 8) at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(Future Task.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.access$301(ScheduledThreadPoolE xecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.