[ 
https://issues.apache.org/jira/browse/HADOOP-16068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-16068:
------------------------------------
    Status: Patch Available  (was: Open)

Patch 001: proof of concept

This adds a new interface {{CustomExtensionBinding}}
{code}
public interface CustomExtensionBinding extends Closeable {

  void bind(URI fsURI, Configuration conf) throws IOException;
}
{code}

This can be implemented by Auth and DT plugins; if they do implement this then

# after init, the bind() method is called to complete their binding to the FS 
instance. They don't get a ref to the owner, but they do at least know their 
path
# in FileSystem.close, their close() method is called.

No changes made to the existing interfaces; this is an optional extension.

Testing: none

> 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
>
>
> 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]

Reply via email to