You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2017/04/01 03:37:42 UTC

[jira] [Commented] (HDFS-11519) Ozone: Implement XceiverServerSpi and XceiverClientSpi using Ratis

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

Tsz Wo Nicholas Sze commented on HDFS-11519:
--------------------------------------------

Thanks for the comments, [~xyao].

> Line 44: Based on XceiverServerRatis.java, we support RPC_TYPE of either GRPC or NETTY?

Apache Ratis itself supports pluggable RPC.  In Ozone, we as developers should choose based on the performance a particular RPC implementation.  It seems not making sense to let the end users choose it.  In the meantime, we are not sure whether GRPC or NETTY will win so that we make it configurable for testing purpose.

This is similar to dfs.container.ratis.enabled -- the conf is for testing purpose.  It will be always enabled at the end.

Indeed, we probably should not put these confs in the \@InterfaceAudience.Public OzoneConfigKeys and ScmConfigKeys since they are not public.  Once we have a Ratis management API (HDFS-11597), we will be more clear what to put in the conf.  Let me do the further work in HDFS-11597.

> Can we doc this to ozone-default.xml?

Since it is not supposed to be a user conf, I think we should keep it out from ozone-default.xml.

> Ozone: Implement XceiverServerSpi and XceiverClientSpi using Ratis
> ------------------------------------------------------------------
>
>                 Key: HDFS-11519
>                 URL: https://issues.apache.org/jira/browse/HDFS-11519
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: HDFS-11519-HDFS-7240.20170310.patch, HDFS-11519-HDFS-7240.20170315.patch, HDFS-11519-HDFS-7240.20170320.patch, HDFS-11519-HDFS-7240.20170321.patch, HDFS-11519-HDFS-7240.20170322.patch, HDFS-11519-HDFS-7240.20170323b.patch, HDFS-11519-HDFS-7240.20170323.patch, HDFS-11519-HDFS-7240.20170331.patch
>
>
> Ratis provides an implementation of the RAFT consensus protocol.  In this JIRA, we use it to implement xceiver server and client so that the client requests will be replicated to multiple servers.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org