You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/06 18:16:00 UTC

[jira] [Work logged] (HADOOP-17894) CredentialProviderFactory.getProviders() recursion loading JCEKS file from s3a

     [ https://issues.apache.org/jira/browse/HADOOP-17894?focusedWorklogId=647101&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-647101 ]

ASF GitHub Bot logged work on HADOOP-17894:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Sep/21 18:15
            Start Date: 06/Sep/21 18:15
    Worklog Time Spent: 10m 
      Work Description: steveloughran opened a new pull request #3393:
URL: https://github.com/apache/hadoop/pull/3393


   
   * CredentialProviderFactory to detect and report on recursion.
   * S3AFS to remove incompatible providers.
   * ITest for this.
   
   Tested: s3a london; new test done, full test in progress


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 647101)
    Remaining Estimate: 0h
            Time Spent: 10m

> CredentialProviderFactory.getProviders() recursion loading JCEKS file from s3a
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-17894
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17894
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: conf, fs/s3
>    Affects Versions: 3.3.1
>            Reporter: Steve Loughran
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{CredentialProviderFactory.getProviders()}} will be called recursively if the FS being instantiated as a source of a JCECKs file calls {{Configuration.getPassword()}}.
>  S3A FileSystem does this when looking at encryption settings, even when authentication
>  is not being done by hadoop config options.
> Recursion is straightforward to detect, leaving a choice of actions
>  # Fail
>  # Fix by having getPassword() return null; this implicitly skips use of the credential providers for the nested FS instance.
>  # fix by skipping the specific credential provider factory with the problem (warn first?)
> My preference is for #3.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org