You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Anatoli Shein (JIRA)" <ji...@apache.org> on 2016/08/10 18:38:20 UTC

[jira] [Created] (HDFS-10746) libhdfs++: synchronize access to working_directory and bytes_read_.

Anatoli Shein created HDFS-10746:
------------------------------------

             Summary: 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
            Reporter: Anatoli Shein


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org