spark-issues mailing list archives

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


Konstantin Shaposhnikov updated SPARK-8122:
    Priority: Minor  (was: Major)

> ParquetRelation.enableLogForwarding() may fail to configure loggers
> -------------------------------------------------------------------
>                 Key: SPARK-8122
>                 URL:
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Konstantin Shaposhnikov
>            Priority: Minor
> _enableLogForwarding()_ should be updated after parquet 1.7.0 update , because name of
the logger has been changed to `org.apache.parquet`. From parquet-mr Log:
> {code}
>     // add a default handler in case there is none
>     Logger logger = Logger.getLogger(Log.class.getPackage().getName());
> {code}
> 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
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._

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message