[
https://issues.apache.org/jira/browse/HDFS-8471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14562373#comment-14562373
]
Duo Zhang commented on HDFS-8471:
---------------------------------
{quote}
It might make sense to move some of the code out of DtpHttp2FrameListener for a
cleaner separation between the transport layer and the application layer.
{quote}
OK, will do it.
{quote}
How the exception will be handled? It might make sense to send back a protobuf
to match the spec of the grpc.
{quote}
Methods in Http2FrameListener are only allowed to throw Http2Exception and
Http2ConnectionHandler will handle it(reset stream or close connection). By
design I will catch all other exceptions and write back a proto. I think I
should add a testcase for exception handling.
Thanks.
> Implement read block over HTTP/2
> --------------------------------
>
> Key: HDFS-8471
> URL: https://issues.apache.org/jira/browse/HDFS-8471
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Attachments: HDFS-8471.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)