[
https://issues.apache.org/jira/browse/HADOOP-16321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16844045#comment-16844045
]
Sahil Takiar commented on HADOOP-16321:
---------------------------------------
Can confirm this is environmental, since Hadoop QA is capable of running
{{TestOpenSSLSocketFactory}} and I can run {{ITestS3ASSL}} and
{{TestOpenSSLSocketFactory}} inside the Hadoop env docker container
({{./start-build-env.sh}}) and on my Ubuntu 16.04.6 machine.
I can re-produce the {{UnsatisfiedLinkError}} on OSX. Interestingly, all other
tests that use {{NativeCodeLoader#buildSupportsOpenssl}} fail with the same
error. I think the issue is that {{#buildSupportsOpenssl}} is a native method,
so there should really be a call to {{NativeCodeLoader#isNativeCodeLoaded}}
first to check if {{libhadoop}} has been loaded ({{#isNativeCodeLoaded}} is not
a native method), if not, there is no point in calling
{{{{#buildSupportsOpenssl}} as the call will fail.
Will post a patch to fix this.
> ITestS3ASSL+TestOpenSSLSocketFactory failing with
> java.lang.UnsatisfiedLinkErrors
> ---------------------------------------------------------------------------------
>
> Key: HADOOP-16321
> URL: https://issues.apache.org/jira/browse/HADOOP-16321
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/s3, test
> Affects Versions: 3.3.0
> Environment: macos
> Reporter: Steve Loughran
> Assignee: Sahil Takiar
> Priority: Major
>
> the new test of HADOOP-16050 {{ITestS3ASSL}} is failing with
> {{java.lang.UnsatisfiedLinkError}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]