[
https://issues.apache.org/jira/browse/HADOOP-16068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16766604#comment-16766604
]
Steve Loughran commented on HADOOP-16068:
-----------------------------------------
[~DanielZhou]: thanks, fixed that
Patch 005
* An ExtensionHelper class removes the repetition of probes for type, casting
and invocation. Note use of Optional & how Java's checked exceptions cripples
its full exploitation.
* Tests for the custom OAuth provider chain
* tests to verify the unbound DT provider works.
* fix javadocs & style from patch 005
* TokenAccessProviderException passes cause parameter to superclass
* Custom/mock Oauth token provider with unit test of construction & init.
For that TokenAccessProviderException to stop losing its cause I had to add a
new constructor to AzureBlobFileSystemException of type (String, Throwable).
I've kept the existing (String, Exception), so that anything compiled against
the old binaries will still link. I could change how
TokenAccessProviderException does the cause setting (via initCause) if you'd
prefer -it won't change the signature of either exception.
Tested: Azure amsterdam. I've just changed the javadocs & style after doing
that, so I may have just broken something.
> ABFS Auth and DT plugins to be bound to specific URI of the FS
> --------------------------------------------------------------
>
> Key: HADOOP-16068
> URL: https://issues.apache.org/jira/browse/HADOOP-16068
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.2.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
> Attachments: HADOOP-16068-001.patch, HADOOP-16068-002.patch,
> HADOOP-16068-003.patch, HADOOP-16068-004.patch, HADOOP-16068-005.patch
>
>
> followup from HADOOP-15692: pass in the URI & conf of the owner FS to bind
> the plugins to the specific FS instance. Without that you can't have per FS
> auth
> +add a stub DT plugin for testing, verify that DTs are collected.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]