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

Aaron T. Myers updated HDFS-4315:
---------------------------------

    Attachment: HDFS-4315.patch

Here's a patch which addresses the issue. I've been looping the test for an 
hour now with no failures, whereas before it used to fail pretty reliably 
within 10 minutes. I'll keep it looping over the weekend and see how it goes.

This patch also takes the liberty of re-enabling the DN log in 
TestWebHdfsWithMultipleNameNodes, so that we can better see the root cause of 
later failures.
                
> DNs with multiple BPs can have BPOfferServices fail to start due to 
> unsynchronized map access
> ---------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4315
>                 URL: https://issues.apache.org/jira/browse/HDFS-4315
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>    Affects Versions: 2.0.2-alpha
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-4315.patch
>
>
> In some nightly test runs we've seen pretty frequent failures of 
> TestWebHdfsWithMultipleNameNodes. I've traced the root cause to an 
> unsynchronized map access in the DataStorage class.
> More details in the first comment.

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