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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via cloudera.com by Unknown author, 1 year ago
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
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.