Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-305

Logger instantiated for package org.apache.parquet may be GC-ed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 1.9.0, 1.8.2
    • parquet-mr
    • None

    Description

      This ticket is derived from SPARK-8122.

      According to Javadoc of java.util.Logger:

      It is important to note that the Logger returned by one of the getLogger factory methods may be garbage collected at any time if a strong reference to the Logger is not kept.

      However, the only reference to the Logger created for package org.apache.parquet goes out of scope outside the static initialization block, and thus is possible to be garbage collected.

      More details can be found in this comment.

      Attachments

        Issue Links

          Activity

            People

              rdblue Ryan Blue
              lian cheng Cheng Lian
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: