[
https://issues.apache.org/jira/browse/HADOOP-9481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13634039#comment-13634039
]
Vadim Bondarev commented on HADOOP-9481:
----------------------------------------
Since commit 102f2e3ea007f8cda041f9df7358098482e5f3e2 in classes
SnappyCompressor.c/SnappyDecompressor.c was added includes and conditional
logic (if defined),
But his order make classes (SnappyCompressor/SnappyDecompressor) with empty
body after compilation in so file.
This easy to prove with this test method:
SnappyCompressor compressor = new SnappyCompressor();
compressor.compress(compressed, 0, compressed.length);
Call method compress() was fail with java.lang.UnsatisfiedLinkError:
org.apache.hadoop.io.compress.snappy.SnappyCompressor.compressBytesDirect()I
> Broken conditional logic with HADOOP_SNAPPY_LIBRARY
> ---------------------------------------------------
>
> Key: HADOOP-9481
> URL: https://issues.apache.org/jira/browse/HADOOP-9481
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Vadim Bondarev
> Priority: Minor
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira