Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6291

FSImage may be left unclosed in BootstrapStandby#doRun()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: ha
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      At around line 203:

            if (!checkLogsAvailableForRead(image, imageTxId, curTxId)) {
              return ERR_CODE_LOGS_UNAVAILABLE;
            }
      

      If we return following the above check, image is not closed.

      1. HDFS-6291.patch
        0.6 kB
        Sanghyun Yun
      2. HDFS-6291.2.patch
        0.7 kB
        Sanghyun Yun

        Activity

        Vinayakumar B made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Assignee Sanghyun Yun [ yunsh ]
        Fix Version/s 2.8.0 [ 12329057 ]
        Resolution Fixed [ 1 ]
        Uma Maheswara Rao G made changes -
        Labels BB2015-05-RFC
        Rakesh R made changes -
        Labels BB2015-05-TBR BB2015-05-RFC
        Allen Wittenauer made changes -
        Labels BB2015-05-TBR
        Sanghyun Yun made changes -
        Attachment HDFS-6291.2.patch [ 12677224 ]
        Sanghyun Yun made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Sanghyun Yun made changes -
        Attachment HDFS-6291.patch [ 12662718 ]
        Ted Yu made changes -
        Field Original Value New Value
        Component/s ha [ 12316609 ]
        Ted Yu created issue -

          People

          • Assignee:
            Sanghyun Yun
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development