Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-8122

ParquetRelation.enableLogForwarding() may fail to configure loggers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.5.0
    • None
    • SQL
    • None

    Description

      enableLogForwarding() doesn't hold to the created loggers that can be garbage collected and all configuration changes will be gone. From https://docs.oracle.com/javase/6/docs/api/java/util/logging/Logger.html javadocs: 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.

      All created logger references need to be kept, e.g. in static variables.

      Attachments

        Activity

          People

            Unassigned Unassigned
            k.shaposhnikov@gmail.com Konstantin Shaposhnikov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: