hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anatoli Shein (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10746) libhdfs++: synchronize access to working_directory and bytes_read_.
Date Thu, 11 Aug 2016 20:00:23 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anatoli Shein updated HDFS-10746:
---------------------------------
    Attachment: HDFS-10746.HDFS-8707.000.patch

Fixed synchronization of working_directory_ and bytes_read_.

> 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


Mime
View raw message