java.lang.RuntimeException: Error preparing HdfsBolt: native snappy library not available: this version of libhadoop was built without snappy support.

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 AvneeshAtri
, 1 year ago
Error preparing HdfsBolt: native snappy library not available: this version of libhadoop was built without snappy support.
via csdn.net by Unknown author, 1 year ago
via Stack Overflow by Sachin
, 2 years ago
Error preparing HdfsBolt: Failed on local exception: java.io.IOException: java.lang.IllegalArgumentException: Failed to specify server's Kerberos principal name; Host Details : local host is: "xxxx2002.xx.xxxxx.com/11.11.111.221"; destination host is: "x-xxxxx.xxxx.com":8020;
via GitHub by SachinHadoop
, 1 year ago
Error preparing HdfsBolt: Failed on local exception: java.io.IOException: java.lang.IllegalArgumentException: Failed to specify server's Kerberos principal name; Host Details : local host is: "xxxx.yyyy.com/00.00.00.001"; destination host is: "abc.yyyy.com":8020;
java.lang.RuntimeException: Error preparing HdfsBolt: native snappy library not available: this version of libhadoop was built without snappy support.
at org.apache.hadoop.io.compress.SnappyCodec.checkNativeCodeLoaded(SnappyCodec.java:65)
at org.apache.hadoop.io.compress.SnappyCodec.getCompressorType(SnappyCodec.java:134)
at org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:150)
at org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:165)
at org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:1263)
at org.apache.hadoop.io.SequenceFile$Writer.(SequenceFile.java:1156)
at org.apache.hadoop.io.SequenceFile$RecordCompressWriter.(SequenceFile.java:1441)
at org.apache.storm.hdfs.bolt.SequenceFileBolt.createOutputFile(SequenceFileBolt.java:134)
at org.apache.storm.hdfs.bolt.AbstractHdfsBolt.prepare(AbstractHdfsBolt.java:106)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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