[ https://issues.apache.org/jira/browse/HDFS-3541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401184#comment-13401184 ]
Uma Maheswara Rao G commented on HDFS-3541: ------------------------------------------- for the comment: {quote} 2.This chunk of code confuses me, since you don't use written again after the loop, and there doesn't seem to be any need to call write(...) many times: {quote} try using util APIs already available for writing data. @Kihwal, good point, worth asserting block finalization. > Deadlock between recovery, xceiver and packet responder > ------------------------------------------------------- > > Key: HDFS-3541 > URL: https://issues.apache.org/jira/browse/HDFS-3541 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Affects Versions: 0.23.3, 2.0.1-alpha > Reporter: suja s > Assignee: Vinay > Attachments: DN_dump.rar, HDFS-3541.patch > > > Block Recovery initiated while write in progress at Datanode side. Found a > lock between recovery, xceiver and packet responder. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira