[ 
https://issues.apache.org/jira/browse/HDFS-5249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13775859#comment-13775859
 ] 

Brandon Li commented on HDFS-5249:
----------------------------------

No unit test included since it's difficult to time the race condition in a unit 
test. I manually tested file loading on a Linux cluster. 
                
> Fix dumper thread which may die silently
> ----------------------------------------
>
>                 Key: HDFS-5249
>                 URL: https://issues.apache.org/jira/browse/HDFS-5249
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: nfs
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HDFS-5249.02.patch, HDFS-5249.patch
>
>
> Dumper thread can get an NPE when the WriteCtx it's about to work on is just 
> deleted by write back thread. 
> A dead dumper thread could cause out-of-memory error when too many pending 
> writes accumulated for one opened file.  

--
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

Reply via email to