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

Stack Overflow | AvneeshAtri | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Apahe storm : Snappy compression with SequencyFileBolt does not work

    Stack Overflow | 7 months ago | AvneeshAtri
    java.lang.RuntimeException: Error preparing HdfsBolt: native snappy library not available: this version of libhadoop was built without snappy support.
  2. 0

    What's the native snappy library when running jar with Hadoop

    Stack Overflow | 1 year ago | dennis
    java.lang.RuntimeException: native snappy library not available: this version of libhadoop was built without snappy support.
  3. 0

    org.apache.hadoop.hive.ql.metadata.HiveException

    kylin-dev | 1 year ago | 和风
    java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row {"cal_dt":"2013-12-31","year_beg_dt":"2013-01-01","qtr_beg_dt":"2013-10-01","month_beg_dt":"2013-12-01","week_beg_dt":"2013-12-29","age_for_year_id":0,"age_for_qtr_id":0,"age_for_month_id":1,"age_for_week_id":5,"age_for_dt_id":34,"age_for_rtl_year_id":1,"age_for_rtl_qtr_id":1,"age_for_rtl_month_id":1,"age_for_rtl_week_id":5,"age_for_cs_week_id":5,"day_of_cal_id":41638,"day_of_year_id":365,"day_of_qtr_id":92,"day_of_month_id":31,"day_of_week_id":3,"week_of_year_id":53,"week_of_cal_id":5948,"month_of_qtr_id":3,"month_of_year_id":12,"month_of_cal_id":1368,"qtr_of_year_id":4,"qtr_of_cal_id":456,"year_of_cal_id":114,"year_end_dt":"2013-12-31","qtr_end_dt":"2013-12-31","month_end_dt":"2013-12-31","week_end_dt":"2013-12-31","cal_dt_name":"31-Dec-2013","cal_dt_desc":"Dec 31st 2013","cal_dt_short_name":"Tue 12-31-13","ytd_yn_id":0,"qtd_yn_id":0,"mtd_yn_id":0,"wtd_yn_id":0,"season_beg_dt":"2013-12-21","day_in_year_count":365,"day_in_qtr_count":92,"day_in_month_count":31,"day_in_week_count":3,"rtl_year_beg_dt":"2013-12-29","rtl_qtr_beg_dt":"2013-12-29","rtl_month_beg_dt":"2013-12-29","rtl_week_beg_dt":"2013-12-29","cs_week_beg_dt":"2013-12-30","cal_date":"2013-12-31","day_of_week":"Tue ","month_id":"2013M12","prd_desc":"Dec-2013","prd_flag":"N","prd_id":"2013M12 ","prd_ind":"N","qtr_desc":"Year 2013 - Quarter 04","qtr_id":"2013Q04 ","qtr_ind":"N","retail_week":"1","retail_year":"2014","retail_start_date":"2013-12-29","retail_wk_end_date":"2014-01-04","week_ind":"N","week_num_desc":"Wk.53 - 13","week_beg_date":"2013-12-29 00:00:00","week_end_date":"2013-12-31 00:00:00","week_in_year_id":"2013W53 ","week_id":"2013W53 ","week_beg_end_desc_mdy":"12/29/13 - 12/31/13","week_beg_end_desc_md":"12/29 - 12/31","year_id":"2013","year_ind":"N","cal_dt_mns_1year_dt":"2012-12-31","cal_dt_mns_2year_dt":"2011-12-31","cal_dt_mns_1qtr_dt":"2013-09-30","cal_dt_mns_2qtr_dt":"2013-06-30","cal_dt_mns_1month_dt":"2013-11-30","cal_dt_mns_2month_dt":"2013-10-31","cal_dt_mns_1week_dt":"2013-12-24","cal_dt_mns_2week_dt":"2013-12-17","curr_cal_dt_mns_1year_yn_id":0,"curr_cal_dt_mns_2year_yn_id":0,"curr_cal_dt_mns_1qtr_yn_id":0,"curr_cal_dt_mns_2qtr_yn_id":0,"curr_cal_dt_mns_1month_yn_id":0,"curr_cal_dt_mns_2month_yn_id":0,"curr_cal_dt_mns_1week_yn_ind":0,"curr_cal_dt_mns_2week_yn_ind":0,"rtl_month_of_rtl_year_id":"1","rtl_qtr_of_rtl_year_id":1,"rtl_week_of_rtl_year_id":1,"season_of_year_id":1,"ytm_yn_id":0,"ytq_yn_id":1,"ytw_yn_id":0,"cre_date":"2005-09-07","cre_user":"USER_X ","upd_date":"2013-11-27 00:16:56","upd_user":"USER_X"}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Native library lz4 not available for Spark

    Stack Overflow | 10 months ago | javadba
    java.lang.RuntimeException: native lz4 library not available
  6. 0

    Having issues with snappy compression

    flume-user | 1 year ago | Dinesh Narayanan
    org.apache.flume.EventDeliveryException: java.lang.RuntimeException: native snappy library not available: this version of libhadoop was built without snappy support.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      native snappy library not available: this version of libhadoop was built without snappy support.

      at org.apache.hadoop.io.compress.SnappyCodec.checkNativeCodeLoaded()
    2. Hadoop
      SequenceFile.createWriter
      1. org.apache.hadoop.io.compress.SnappyCodec.checkNativeCodeLoaded(SnappyCodec.java:65)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      2. org.apache.hadoop.io.compress.SnappyCodec.getCompressorType(SnappyCodec.java:134)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      3. org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:150)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      4. org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:165)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      5. org.apache.hadoop.io.SequenceFile$Writer.init(SequenceFile.java:1263)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      6. org.apache.hadoop.io.SequenceFile$Writer.<init>(SequenceFile.java:1156)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      7. org.apache.hadoop.io.SequenceFile$RecordCompressWriter.<init>(SequenceFile.java:1441)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      8. org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:275)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      8 frames
    3. org.apache.storm
      AbstractHdfsBolt.prepare
      1. org.apache.storm.hdfs.bolt.SequenceFileBolt.createOutputFile(SequenceFileBolt.java:134)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      2. org.apache.storm.hdfs.bolt.AbstractHdfsBolt.prepare(AbstractHdfsBolt.java:106)[storm-lab-0.0.1-SNAPSHOT.jar:?]
      2 frames