You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vadim Bondarev (JIRA)" <ji...@apache.org> on 2013/04/17 15:57:16 UTC
[jira] [Commented] (HADOOP-9481) Broken conditional logic with
HADOOP_SNAPPY_LIBRARY
[ 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