Hi Jeremy,

Even after copying libsnappy.so to java_home/jre/lib it did not help much. I
also pointed LD_LIBRARY_PATH to the location of libsnappy.so. Even went to
the extent of modyfying bootstrap.conf with jvm params 
 -Djava.library.path=//<path for libsnappy.so>.

But received the same error again. I have configured following properties in 
Hadoop files as following:-

core-site.xml

<property>
  <name>io.compression.codecs</name>
<value>org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.SnappyCodec</value>
</property>

mapred-site.xml

 <property>
      <name>mapreduce.map.output.compress</name>
      <value>true</value>
    </property>

    <property>
     <name>mapred.map.output.compress.codec</name>  
     <value>org.apache.hadoop.io.compress.SnappyCodec</value>
    </property>


    <property>
      <name>mapreduce.admin.user.env</name>
      <value>LD_LIBRARY_PATH=/usr/hdp/2.2.0.0-1084/hadoop/lib/native</value>
    </property>

Anything else I'm missing on to get this issue fixed?? 

Thanks,
Shweta



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/java-lang-UnsatisfiedLinkError-in-PutHDFS-with-snappy-compression-tp7182p7236.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to