java.lang.ClassCastException: org.apache.hadoop.fs.ChecksumFileSystem$FSDataBoundedInputStream cannot be cast to org.apache.hadoop.hdfs.client.HdfsDataInputStream

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 Stack Overflow by amritkrs
, 1 year ago
org.apache.hadoop.fs.ChecksumFileSystem$FSDataBoundedInputStream cannot be cast to org.apache.hadoop.hdfs.client.HdfsDataInputStream
java.lang.ClassCastException: org.apache.hadoop.fs.ChecksumFileSystem$FSDataBoundedInputStream cannot be cast to org.apache.hadoop.hdfs.client.HdfsDataInputStream
at org.apache.hadoop.hdfs.TestWriteRead.readData(TestWriteRead.java:159)
at org.apache.hadoop.hdfs.TestWriteRead.testWriteAndRead(TestWriteRead.java:340)
at org.apache.hadoop.hdfs.TestWriteRead.clusterTestWriteRead1(TestWriteRead.java:141)
at org.apache.hadoop.hdfs.TestWriteRead.main(TestWriteRead.java:498)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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