[ 
https://issues.apache.org/jira/browse/HADOOP-15405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16448397#comment-16448397
 ] 

Steve Loughran commented on HADOOP-15405:
-----------------------------------------

stack
{code}
Caused by: java.io.IOException: Password fs.adl.oauth2.refresh.url not found
at 
org.apache.hadoop.fs.adl.AdlFileSystem.getPasswordString(AdlFileSystem.java:990)
at 
org.apache.hadoop.fs.adl.AdlFileSystem.getConfCredentialBasedTokenProvider(AdlFileSystem.java:291)
at 
org.apache.hadoop.fs.adl.AdlFileSystem.getAccessTokenProvider(AdlFileSystem.java:269)
at org.apache.hadoop.fs.adl.AdlFileSystem.initialize(AdlFileSystem.java:175)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3354)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:124)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3403)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3371)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:477)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:361)
at 
org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.setOutputPath(FileOutputFormat.java:178)
... 14 more
{code}

> adl:// use 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to