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 "Zhanwei Wang (JIRA)" <ji...@apache.org> on 2014/11/04 12:52:34 UTC
[jira] [Commented] (HDFS-7017) Implement OutputStream for libhdfs3
[ https://issues.apache.org/jira/browse/HDFS-7017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14196027#comment-14196027 ]
Zhanwei Wang commented on HDFS-7017:
------------------------------------
Add log when fail to close file, remove OutputStream::lastError and related code.
I catch std::bad_alloc in lease renewer, if overcommit turned on, it does nothing, but if it is thrown in some case, I do not want the library die in backend working thread. std::bad_alloc will be thrown again somewhere in main thread and the API can handle it well.
> Implement OutputStream for libhdfs3
> -----------------------------------
>
> Key: HDFS-7017
> URL: https://issues.apache.org/jira/browse/HDFS-7017
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Zhanwei Wang
> Assignee: Zhanwei Wang
> Attachments: HDFS-7017-pnative.002.patch, HDFS-7017-pnative.003.patch, HDFS-7017.patch
>
>
> Implement pipeline and OutputStream C++ interface
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)