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

Benoit Perroud updated HADOOP-16728:
------------------------------------
    Description: 
This issue is trying to address few issues in the SFTP filesystem, and 
especially in SFTPConnectionPool:
 * all channels for a given connectionInfo are removed from the pool instead of 
only the selected channel.
 * 

As a result, if you have 2 threads sharing the pool, the first one acquiring a 
channels removes all the others, leading to inefficient SSH reconnections.

  was:
In SFTPConnectionPool::getFromPool, all channels for a given connectionInfo are 
removed from the pool instead of only the selected channel.

As a result, if you have 2 threads sharing the pool, the first one acquiring a 
channels removes all the others, leading to inefficient SSH reconnections.


> SFTPFileSystem connection pooling is not handling the pool properly
> -------------------------------------------------------------------
>
>                 Key: HADOOP-16728
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16728
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.2.1
>            Reporter: Benoit Perroud
>            Priority: Major
>
> This issue is trying to address few issues in the SFTP filesystem, and 
> especially in SFTPConnectionPool:
>  * all channels for a given connectionInfo are removed from the pool instead 
> of only the selected channel.
>  * 
> As a result, if you have 2 threads sharing the pool, the first one acquiring 
> a channels removes all the others, leading to inefficient SSH reconnections.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to