Skip to content

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

@asfimport

Description

@asfimport

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.

Reporter: Cheng Lian / @liancheng
Assignee: Ryan Blue / @rdblue

Related issues:

PRs and other links:

Note: This issue was originally created as PARQUET-305. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions