hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cnaur...@apache.org
Subject [1/2] hadoop git commit: HADOOP-13476. CredentialProviderFactory fails at class loading from libhdfs (JNI). Contributed by Aaron Fabbri.
Date Wed, 10 Aug 2016 16:59:18 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 447ba4764 -> f7ac0fd80
  refs/heads/trunk d00d3add9 -> 4d4fe07c3


HADOOP-13476. CredentialProviderFactory fails at class loading from libhdfs (JNI). Contributed
by Aaron Fabbri.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4d4fe07c
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4d4fe07c
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4d4fe07c

Branch: refs/heads/trunk
Commit: 4d4fe07c3cdd5c57c455ef91daac3686b753b9be
Parents: d00d3ad
Author: Chris Nauroth <cnauroth@apache.org>
Authored: Wed Aug 10 09:54:31 2016 -0700
Committer: Chris Nauroth <cnauroth@apache.org>
Committed: Wed Aug 10 09:54:31 2016 -0700

----------------------------------------------------------------------
 .../apache/hadoop/security/alias/CredentialProviderFactory.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4d4fe07c/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/CredentialProviderFactory.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/CredentialProviderFactory.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/CredentialProviderFactory.java
index 36b4ecb..0c9c21f 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/CredentialProviderFactory.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/CredentialProviderFactory.java
@@ -45,7 +45,8 @@ public abstract class CredentialProviderFactory {
                                              ) throws IOException;
 
   private static final ServiceLoader<CredentialProviderFactory> serviceLoader =
-      ServiceLoader.load(CredentialProviderFactory.class);
+      ServiceLoader.load(CredentialProviderFactory.class,
+          CredentialProviderFactory.class.getClassLoader());
 
   public static List<CredentialProvider> getProviders(Configuration conf
                                                ) throws IOException {


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


Mime
View raw message