[
https://issues.apache.org/jira/browse/HDFS-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-4627:
----------------------------
Attachment: HDFS-4627.001.patch
Patch uploaded. A simple fix and a simple testcase included.
> Fix FSImageFormat#Loader#loadFilesUnderConstruction
> ---------------------------------------------------
>
> Key: HDFS-4627
> URL: https://issues.apache.org/jira/browse/HDFS-4627
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode, namenode
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Attachments: HDFS-4627.001.patch
>
>
> Currently FSImageFormat#Loader#loadFilesUnderConstruction calls
> FSDirectory#unprotectedReplaceINodeFile without acquiring FSDirectory's lock.
> FSDirectory#replaceINodeFile should be called instead.
--
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