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

Mukul Kumar Singh updated HDFS-12745:
-------------------------------------
    Description: 
With just the standalone pipeline, a new pipeline was created for each and 
every container.
This code can be optimized so that pipelines are craeted less frequently. 
Caching using pipeline names will help with Ratis clients as well.

a) Remove Container name from Pipeline object.
b) XceiverClientManager should cache objects based on pipeline name
c) XceiverClient and XceiverServer should be renamed to XceiverClientStandAlone 
& XceiverServerRatis
d) StandAlone pipeline should have notion of re-using pipeline objects.


  was:
With just the standalone pipeline, a new pipeline was created for each and 
every container.
This code can be optimized so that pipelines are craeted less frequently. 
Caching using pipeline names will help with Ratis clients as well.

a) XceiverClientManager should cache objects based on pipeline name
b) XceiverClient and XceiverServer should be renamed to XceiverClientStandAlone 
& XceiverServerRatis
c) StandAlone pipeline should have notion of re-using pipeline objects.


> Ozone: XceiverClientManager should cache objects based on pipeline name
> -----------------------------------------------------------------------
>
>                 Key: HDFS-12745
>                 URL: https://issues.apache.org/jira/browse/HDFS-12745
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>             Fix For: HDFS-7240
>
>
> With just the standalone pipeline, a new pipeline was created for each and 
> every container.
> This code can be optimized so that pipelines are craeted less frequently. 
> Caching using pipeline names will help with Ratis clients as well.
> a) Remove Container name from Pipeline object.
> b) XceiverClientManager should cache objects based on pipeline name
> c) XceiverClient and XceiverServer should be renamed to 
> XceiverClientStandAlone & XceiverServerRatis
> d) StandAlone pipeline should have notion of re-using pipeline objects.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to