spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shaposhnikov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-8122) ParquetRelation.enableLogForwarding() may fail to configure loggers
Date Fri, 05 Jun 2015 03:04:38 GMT

     [ https://issues.apache.org/jira/browse/SPARK-8122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konstantin Shaposhnikov updated SPARK-8122:
-------------------------------------------
    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.


  was:

Another problem with _enableLogForwarding()_ is that it 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._


> ParquetRelation.enableLogForwarding() may fail to configure loggers
> -------------------------------------------------------------------
>
>                 Key: SPARK-8122
>                 URL: https://issues.apache.org/jira/browse/SPARK-8122
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Konstantin Shaposhnikov
>            Priority: Minor
>
> _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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message