HDFS-9175. Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public. Contributed by Santhosh Nayak.

(cherry picked from commit c7e03c3a6c)
This commit is contained in:
cnauroth 2015-09-30 16:06:34 -07:00
parent d645ee1d62
commit 7273ef0590
3 changed files with 6 additions and 2 deletions

View File

@ -42,7 +42,7 @@ public abstract class AccessTokenProvider implements Configurable {
* *
* @return Access token to be added to connection header. * @return Access token to be added to connection header.
*/ */
abstract String getAccessToken() throws IOException; public abstract String getAccessToken() throws IOException;
/** /**
* Return the conf. * Return the conf.

View File

@ -75,7 +75,7 @@ public abstract class CredentialBasedAccessTokenProvider
this.timer = new AccessTokenTimer(timer); this.timer = new AccessTokenTimer(timer);
} }
abstract String getCredential(); public abstract String getCredential();
@Override @Override
public void setConf(Configuration conf) { public void setConf(Configuration conf) {

View File

@ -658,6 +658,10 @@ Release 2.8.0 - UNRELEASED
HDFS-8971. Remove guards when calling LOG.debug() and LOG.trace() in client HDFS-8971. Remove guards when calling LOG.debug() and LOG.trace() in client
package. (Mingliang Liu via wheat9) package. (Mingliang Liu via wheat9)
HDFS-9175. Change scope of 'AccessTokenProvider.getAccessToken()' and
'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to
public (Santhosh Nayak via cnauroth)
OPTIMIZATIONS OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than