Hi All,
Just an update on this:
Setting the codec using DataFileWriter setCodec method :
writer.setCodec(CodecFactory.snappyCodec());
Pls help me with this issue
Regards,
Vinay
On Jun 22, 2016 10:47 PM, "Vinay Patil" <
[hidden email]> wrote:
> Hi ,
>
> I am writing the data in S3 in avro data file, but when I deploy it on
> cluster , I am facing the following issue :
>
> *java.lang.UnsatisfiedLinkError:
> org.xerial.snappy.SnappyNative.maxCompressedLength(I)*
>
> This occurs when I try to add the record (GenericRecord) as :
> writer.append(record);
>
> The error still occurs even after removing the snappy jar dependency from
> pom.
>
> Do we have to add any other dependency ?
>
> Regards,
> Vinay Patil
>