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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • None
    • 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-v1.txt
          1 kB
          Ted Yu
        2. hdfs-5721-v2.txt
          5 kB
          Ted Yu
        3. hdfs-5721-v3.txt
          5 kB
          Ted Yu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: