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

Elek, Marton commented on HDDS-738:
-----------------------------------

Let's try to bump this thread again:

As of now there are ~10 UnsupportedOperationException in RestClient. It's clear 
that the RestClient can't be compatible with the RpcClient as a lot of methods 
(s3, multipart uloads) are not implemented (and won't be implemented imho)

I propose to remove the RestClient but keep the rest backend, as of now. I 
think the RpcClient implementation is enough (especially as this is the full 
implementation). The code could be significant simpler (parsing on the client 
side + the client only DTOs can be removed) but the ozone REST server will be 
still available.

We can provide swagger.json to make it easier to use the rest API from other 
languages.

(I reread the description of this jira and just realized that this is the same 
as the original proposal from Nanda: remove the rest ozone client, and not 
removing the rest server itsef) 

 

> Removing REST protocol support from OzoneClient
> -----------------------------------------------
>
>                 Key: HDDS-738
>                 URL: https://issues.apache.org/jira/browse/HDDS-738
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Client
>            Reporter: Nanda kumar
>            Priority: Major
>
> Since we have functional {{S3Gateway}} for Ozone which works on REST 
> protocol, having REST protocol support in OzoneClient feels redundant and it 
> will take a lot of effort to maintain it up to date.
> As S3Gateway is in a functional state now, I propose to remove REST protocol 
> support from OzoneClient.
> Once we remove REST support from OzoneClient, the following will be the 
> interface to access Ozone cluster
>  * OzoneClient (RPC Protocol)
>  * OzoneFS (RPC Protocol)
>  * S3Gateway (REST Protocol)



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