[
https://issues.apache.org/jira/browse/HDFS-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Goodhope updated HDFS-863:
------------------------------
Attachment: HDFS-863.patch
Finally got my auto format set up right and it found a couple more issues my
eyes missed. Only formatted the sections I worked on.
> Potential deadlock in TestOverReplicatedBlocks
> ----------------------------------------------
>
> Key: HDFS-863
> URL: https://issues.apache.org/jira/browse/HDFS-863
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Todd Lipcon
> Assignee: Ken Goodhope
> Fix For: 0.23.0
>
> Attachments: cycle.png, HDFS-863.patch, HDFS-863.patch,
> HDFS-863.patch, HDFS-863.patch, TestNodeCount.png
>
>
> TestOverReplicatedBlocks.testProcesOverReplicateBlock synchronizes on
> namesystem.heartbeats without synchronizing on namesystem first. Other places
> in the code synchronize namesystem, then heartbeats. It's probably unlikely
> to occur in this test case, but it's a simple fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.