[
https://issues.apache.org/jira/browse/HDFS-4971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-4971:
----------------------------
Attachment: HDFS-4971.002.patch
Update the patch:
1) simply the locking mechanism,
2) handle the concurrent overlap writer scenario,
3) handle a race on nextOffset,
4) refactor OpenFileCtx#receivedNewWrite and OpenFileCtx#executeWriteBack.
> Move IO operations out of locking in OpenFileCtx
> ------------------------------------------------
>
> Key: HDFS-4971
> URL: https://issues.apache.org/jira/browse/HDFS-4971
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: nfs
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Attachments: HDFS-4971.000.patch, HDFS-4971.001.patch,
> HDFS-4971.002.patch
>
>
> Currently some IO operations (such as writing data to HDFS and dumping to
> local disk) in OpenFileCtx may hold a lock which can block processing
> incoming writing requests. This jira aims to optimize OpenFileCtx and move
> the IO operations out of the locking.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira