Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2167

LeveldbIterator should get closed in NMLeveldbStateStoreService#loadLocalizationState() within finally block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • nodemanager
    • None
    • Reviewed

    Description

      In NMLeveldbStateStoreService#loadLocalizationState(), we have LeveldbIterator to read NM's localization state but it is not get closed in finally block. We should close this connection to DB as a common practice.

      Attachments

        1. YARN-2167.patch
          1 kB
          Junping Du

        Activity

          People

            junping_du Junping Du
            junping_du Junping Du
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: