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 "James Clampffer (JIRA)" <ji...@apache.org> on 2016/08/12 16:22:20 UTC
[jira] [Commented] (HDFS-10746) libhdfs++: synchronize access to
working_directory and bytes_read_.
[ https://issues.apache.org/jira/browse/HDFS-10746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419077#comment-15419077 ]
James Clampffer commented on HDFS-10746:
----------------------------------------
Looks good to me, +1. Will commit once CI runs.
> libhdfs++: synchronize access to working_directory and bytes_read_.
> -------------------------------------------------------------------
>
> Key: HDFS-10746
> URL: https://issues.apache.org/jira/browse/HDFS-10746
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Anatoli Shein
> Assignee: Anatoli Shein
> Attachments: HDFS-10746.HDFS-8707.000.patch
>
>
> std::string working_directory is located in hdfs.cc and access to it should be synchronized with locks.
> uint64_t bytes_read_; is located in filehandle.h and it should be made atomic in order to be thread safe when multithreading becomes available.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org