[
https://issues.apache.org/jira/browse/HADOOP-15694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16607864#comment-16607864
]
Sean Mackrory edited comment on HADOOP-15694 at 9/8/18 1:49 AM:
----------------------------------------------------------------
Yeah, we can keep it accepting a Configuration object and accountName String,
and then implementations need to create an AbfsConfiguration from that
themselves of they won't be able to use account-agnostic configs, etc.
Attaching a patch that does that. Also restored the getEnum Javadoc lost in
patch 5 but fixed the Javadoc warning that it was previously causing.
This highlights that we probably need to attach InterfaceStability annotations
to stuff.
was (Author: mackrorysd):
Yeah, we can keep it accepting a Configuration object and accountName String,
and then implementations need to create an AbfsConfiguration from that
themselves of they won't be able to use account-agnostic configs, etc.
Attaching a patch that does that. Also restored the getEnum Javadoc lost in
patch 5 but fixed the Javadoc warning that it was previously causing.
> ABFS: Allow OAuth credentials to not be tied to accounts
> --------------------------------------------------------
>
> Key: HADOOP-15694
> URL: https://issues.apache.org/jira/browse/HADOOP-15694
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Sean Mackrory
> Assignee: Sean Mackrory
> Priority: Major
> Attachments: HADOOP-15694-HADOOP-15407-005.patch,
> HADOOP-15694-HADOOP-15407.003.patch, HADOOP-15694-HADOOP-15407.004.patch,
> HADOOP-15694-HADOOP-15407.006.patch, HADOOP-15694.001.patch,
> HADOOP-15694.002.patch, HADOOP-15694.003.patch
>
>
> Now that there's OAuth support, it's possible to have a notion of identity
> that's distinct from the account itself. If a cluster is configured via OAuth
> with it's own identity, it's likely operators will want to use that identity
> regardless of which storage account a job uses.
> So OAuth configs right now (and probably others) are looked up with
> <config_key>.<account>. I propose that we add a function for looking up these
> configs that returns an account-specific value if it exists, but in the event
> it does not will also try to return <config_key>, if that exists.
> I can work on a patch for this if nobody has any objections.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]