hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9175) Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()' abstract methods to public
Date Wed, 30 Sep 2015 22:20:04 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14938969#comment-14938969

Chris Nauroth commented on HDFS-9175:

The release audit warning is unrelated.  New tests are not relevant, because this is just
changing visibility of a method that is already covered by existing unit tests.  I'll commit
this later today.

> Change scope of 'AccessTokenProvider.getAccessToken()' and 'CredentialBasedAccessTokenProvider.getCredential()'
abstract methods to public
> ------------------------------------------------------------------------------------------------------------------------------------------
>                 Key: HDFS-9175
>                 URL: https://issues.apache.org/jira/browse/HDFS-9175
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: webhdfs
>    Affects Versions: 2.8.0
>            Reporter: Santhosh G Nayak
>            Assignee: Santhosh G Nayak
>         Attachments: HDFS-9175.1.patch
> {{org.apache.hadoop.hdfs.web.oauth2.AccessTokenProvider#getAccessToken()}}  and {{org.apache.hadoop.hdfs.web.oauth2.CredentialBasedAccessTokenProvider#getCredential()}}
abstract methods are having default scope.
> Unfortunately, it restricts the users from having the custom implementations of these
classes in a different package.
> So, the proposal is to change scope of these abstract methods to {{public}}.

This message was sent by Atlassian JIRA

View raw message