You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Sanghyun Yun (JIRA)" <ji...@apache.org> on 2014/10/22 09:18:34 UTC
[jira] [Commented] (HDFS-6291) FSImage may be left unclosed in
BootstrapStandby#doRun()
[ https://issues.apache.org/jira/browse/HDFS-6291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179670#comment-14179670 ]
Sanghyun Yun commented on HDFS-6291:
------------------------------------
Please review my patch, [~vinayrpet] and [~tedyu]. :)
And can I assign to me this issue?
> FSImage may be left unclosed in BootstrapStandby#doRun()
> --------------------------------------------------------
>
> Key: HDFS-6291
> URL: https://issues.apache.org/jira/browse/HDFS-6291
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: ha
> Reporter: Ted Yu
> Priority: Minor
> Attachments: HDFS-6291.patch
>
>
> At around line 203:
> {code}
> if (!checkLogsAvailableForRead(image, imageTxId, curTxId)) {
> return ERR_CODE_LOGS_UNAVAILABLE;
> }
> {code}
> If we return following the above check, image is not closed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)