hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6291) FSImage may be left unclosed in BootstrapStandby#doRun()
Date Fri, 08 May 2015 13:17:29 GMT

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

Hudson commented on HDFS-6291:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #921 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/921/])
HDFS-6291. FSImage may be left unclosed in BootstrapStandby#doRun() ( Contributed by Sanghyun
Yun) (vinayakumarb: rev e5e492a9631ff78302fccedcb64d7b64b9407991)
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/ha/BootstrapStandby.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> 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
>            Assignee: Sanghyun Yun
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HDFS-6291.2.patch, 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)

Mime
View raw message