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 "John Brahy (JIRA)" <ji...@apache.org> on 2015/12/04 23:55:11 UTC

[jira] [Commented] (HADOOP-11206) TestCryptoCodec.testOpensslAesCtrCryptoCodec fails on master without native code compiled

    [ https://issues.apache.org/jira/browse/HADOOP-11206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042370#comment-15042370 ] 

John Brahy commented on HADOOP-11206:
-------------------------------------

I saw the same error after running mvn clean install on https://github.com/apache/hadoop-common. 

Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.703 sec <<< FAILURE! - in org.apache.hadoop.crypto.TestCryptoCodec
testOpensslAesCtrCryptoCodec(org.apache.hadoop.crypto.TestCryptoCodec)  Time elapsed: 0.012 sec  <<< ERROR!
java.lang.UnsatisfiedLinkError: org.apache.hadoop.util.NativeCodeLoader.buildSupportsOpenssl()Z
	at org.apache.hadoop.util.NativeCodeLoader.buildSupportsOpenssl(Native Method)
	at org.apache.hadoop.crypto.TestCryptoCodec.testOpensslAesCtrCryptoCodec(TestCryptoCodec.java:66)


> TestCryptoCodec.testOpensslAesCtrCryptoCodec fails on master without native code compiled
> -----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11206
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11206
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Robert Joseph Evans
>
> I tried to run the unit tests recently for another issue, and didn't turn on native code.  I got the following error.
> {code}
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.71 sec <<< FAILURE! - in org.apache.hadoop.crypto.TestCryptoCodec
> testOpensslAesCtrCryptoCodec(org.apache.hadoop.crypto.TestCryptoCodec)  Time elapsed: 0.064 sec  <<< ERROR!
> java.lang.UnsatisfiedLinkError: org.apache.hadoop.util.NativeCodeLoader.buildSupportsOpenssl()Z
>         at org.apache.hadoop.util.NativeCodeLoader.buildSupportsOpenssl(Native Method)
>         at org.apache.hadoop.crypto.TestCryptoCodec.testOpensslAesCtrCryptoCodec(TestCryptoCodec.java:66)
> {code}
> Looks like that test needs an assume that native code is loaded/compiled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)