HDFS-9175. Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public. Contributed by Santhosh Nayak.
This commit is contained in:
parent
6c17d31528
commit
c7e03c3a6c
|
@ -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.
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue