Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6291

FSImage may be left unclosed in BootstrapStandby#doRun()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.4, 3.0.0-alpha1
    • ha
    • None
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              yunsh Sanghyun Yun
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: