[ 
https://issues.apache.org/jira/browse/HDDS-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481843#comment-16481843
 ] 

Lokesh Jain commented on HDDS-45:
---------------------------------

[~anu] Thanks for reviewing the patch! The test failures were related to 
changes I made to XceiverClient.java file. On DN restart the XceiverClient was 
not able to send a command because the connection was closed. Therefore I added 
logic for reconnecting in case the channel is not active. The changes are only 
specific to XceiverClient.java.

> Removal of old OzoneRestClient
> ------------------------------
>
>                 Key: HDDS-45
>                 URL: https://issues.apache.org/jira/browse/HDDS-45
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Client
>            Reporter: Nanda kumar
>            Assignee: Lokesh Jain
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-45.001.patch, HDDS-45.002.patch, HDDS-45.003.patch
>
>
> Originally, Ozone used to have a REST client only, that is what was used in 
> the oz CLI. Later we developed an RPC client and started using it Freon. The 
> load generator for Ozone. Then we created a common interface and created 
> factory methods for RestClient or RpcClient. That allows CLI or Freon or any 
> program that is using the Ozone client SDK to trivially switch between REST 
> and RPC.
> This patch removes the old REST client from the code base, since the new code 
> has better features and all the clients (CLI, Freon, Tests) have switched to 
> using this new client with this patch.



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