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

sharedEditsImage in Namenode#initializeSharedEdits() should be closed before method returns

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      At line 901:

            FSImage sharedEditsImage = new FSImage(conf,
                Lists.<URI>newArrayList(),
                sharedEditsDirs);
      

      sharedEditsImage is not closed before the method returns.

        Attachments

        1. hdfs-5721-v3.txt
          5 kB
          Ted Yu
        2. hdfs-5721-v2.txt
          5 kB
          Ted Yu
        3. hdfs-5721-v1.txt
          1 kB
          Ted Yu

          Issue Links

            Activity

              People

              • Assignee:
                yuzhihong@gmail.com Ted Yu
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: