-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
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 theLoggercreated for packageorg.apache.parquetgoes 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:
- Release Parquet-mr 1.9.0 (blocks)
- Deprecate Log and move to SLF4J Logger (relates to)
- Format: Do not shade slf4j-api (relates to)
- Remove ParquetLogRedirector usage from ParquetFileFormat (relates to)
- System.out is used as logger in org.apache.parquet.Log (is required by)
PRs and other links:
Note: This issue was originally created as PARQUET-305. Please see the migration documentation for further details.