[ 
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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to