hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13476) CredentialProviderFactory fails at class loading from libhdfs (JNI)
Date Wed, 10 Aug 2016 17:21:20 GMT

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

Hudson commented on HADOOP-13476:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #10252 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10252/])
HADOOP-13476. CredentialProviderFactory fails at class loading from (cnauroth: rev 4d4fe07c3cdd5c57c455ef91daac3686b753b9be)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/CredentialProviderFactory.java


> CredentialProviderFactory fails at class loading from libhdfs (JNI)
> -------------------------------------------------------------------
>
>                 Key: HADOOP-13476
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13476
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3
>    Affects Versions: 2.8.0, 2.9.0, 3.0.0-alpha2
>            Reporter: Aaron Fabbri
>            Assignee: Aaron Fabbri
>             Fix For: 2.9.0
>
>         Attachments: HADOOP-13476.001.patch
>
>
> This bug was discovered when trying to run Impala (libhdfs.so) with s3a and Java KeyStore
credentials.  Because JNI threads have a different classloader (bootstrap), we fail to load
JavaKeyStoreProvider.
> {quote}
> 15:11:42.658087 26310 jni-util.cc:166] java.util.ServiceConfigurationError: org.apache.hadoop.security.alias.CredentialProviderFactory:
Provider
> org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory not found
> at java.util.ServiceLoader.fail(ServiceLoader.java:231)
> at java.util.ServiceLoader.access$300(ServiceLoader.java:181)
> at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:365)
> at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
> at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:57)
> at org.apache.hadoop.conf.Configuration.getPasswordFromCredentialProviders(Configuration.java:1950)
> at org.apache.hadoop.conf.Configuration.getPassword(Configuration.java:1930)
> at org.apache.hadoop.fs.s3a.S3AFileSystem.getAWSAccessKeys(S3AFileSystem.java:366)
> at org.apache.hadoop.fs.s3a.S3AFileSystem.getAWSCredentialsProvider(S3AFileSystem.java:415)
> at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:176)
> {quote}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message