[
https://issues.apache.org/jira/browse/HDFS-7012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126384#comment-14126384
]
Colin Patrick McCabe commented on HDFS-7012:
--------------------------------------------
Shouldn't disableSigPipe be a private function, since it's called internally
and doesn't need to be called externally?
{code}
+int32_t BufferedSocketReaderImpl::readVarint32(int timeout) {
+ int32_t value;
+ bool rc = false;
+ int deadline = timeout;
+ memmove(&buffer[0], &buffer[cursor], size - cursor);
{code}
Is there a way to avoid doing all this copying?
> Implement a TCP client for libhdfs3
> -----------------------------------
>
> Key: HDFS-7012
> URL: https://issues.apache.org/jira/browse/HDFS-7012
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Zhanwei Wang
> Attachments: HDFS-7012.patch
>
>
> Implement a module for libhdfs3 to provide basic function of TCP client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)