hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecl...@apache.org
Subject [44/52] [abbrv] hadoop git commit: HDFS-9175. Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public. Contributed by Santhosh Nayak.
Date Fri, 02 Oct 2015 15:57:23 GMT
HDFS-9175. Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()'
abstract methods to public. Contributed by Santhosh Nayak.


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

Branch: refs/heads/HADOOP-11890
Commit: c7e03c3a6cf8ccd73a1734a1d19bd8d753b2974c
Parents: 6c17d31
Author: cnauroth <cnauroth@apache.org>
Authored: Wed Sep 30 16:06:34 2015 -0700
Committer: cnauroth <cnauroth@apache.org>
Committed: Wed Sep 30 16:06:34 2015 -0700

----------------------------------------------------------------------
 .../org/apache/hadoop/hdfs/web/oauth2/AccessTokenProvider.java   | 2 +-
 .../hdfs/web/oauth2/CredentialBasedAccessTokenProvider.java      | 2 +-
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                      | 4 ++++
 3 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c7e03c3a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/AccessTokenProvider.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/AccessTokenProvider.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/AccessTokenProvider.java
index 99e153d..3189f94 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/AccessTokenProvider.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/AccessTokenProvider.java
@@ -42,7 +42,7 @@ public abstract class AccessTokenProvider implements Configurable {
    * 
    * @return Access token to be added to connection header.
    */
-  abstract String getAccessToken() throws IOException;
+  public abstract String getAccessToken() throws IOException;
 
   /**
    * Return the conf.

http://git-wip-us.apache.org/repos/asf/hadoop/blob/c7e03c3a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/CredentialBasedAccessTokenProvider.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/CredentialBasedAccessTokenProvider.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/CredentialBasedAccessTokenProvider.java
index c058e05..625d935 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/CredentialBasedAccessTokenProvider.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/oauth2/CredentialBasedAccessTokenProvider.java
@@ -75,7 +75,7 @@ public abstract class CredentialBasedAccessTokenProvider
     this.timer = new AccessTokenTimer(timer);
   }
   
-  abstract String getCredential();
+  public abstract String getCredential();
 
   @Override
   public void setConf(Configuration conf) {

http://git-wip-us.apache.org/repos/asf/hadoop/blob/c7e03c3a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index cedf1a7..e62953e 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -1003,6 +1003,10 @@ Release 2.8.0 - UNRELEASED
     HDFS-8971. Remove guards when calling LOG.debug() and LOG.trace() in client
     package. (Mingliang Liu via wheat9)
 
+    HDFS-9175. Change scope of 'AccessTokenProvider.getAccessToken()' and
+    'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to
+    public (Santhosh Nayak via cnauroth)
+
   OPTIMIZATIONS
 
     HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than


Mime
View raw message