[ https://issues.apache.org/jira/browse/HADOOP-15405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450061#comment-16450061 ]
Larry McCay commented on HADOOP-15405: -------------------------------------- Thanks for pointing this out, [~ste...@apache.org]. I can't imagine why folks would be using getPassword in order to get a URL and using getTrimmed certainly seems appropriate. Is there some rational for provisioning this URL in a credential provider instead of config? > adl:// to stop using Configuration.getPassword() to look up > fs.adl.oauth2.refresh.url > ------------------------------------------------------------------------------------- > > Key: HADOOP-15405 > URL: https://issues.apache.org/jira/browse/HADOOP-15405 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/adl > Affects Versions: 3.1.0 > Reporter: Steve Loughran > Priority: Minor > > the adl connector uses {{Configuration.getPassword()}} to look up the > {{fs.adl.oauth2.refresh.url}} value; reports it as an unknown password on > failure. > it should be using getTrimmed() to get a trimmed string. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org