You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jongyoul Lee (JIRA)" <ji...@apache.org> on 2018/03/20 02:16:00 UTC

[jira] [Updated] (SPARK-23743) IsolatedClientLoader.isSharedClass returns an unindented result against `slf4j` keyword

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

Jongyoul Lee updated SPARK-23743:
---------------------------------
    Summary: IsolatedClientLoader.isSharedClass returns an unindented result against `slf4j` keyword  (was: IsolatedClientLoader.isSharedClass returns unindented results of `slf4j` keyword)

> IsolatedClientLoader.isSharedClass returns an unindented result against `slf4j` keyword
> ---------------------------------------------------------------------------------------
>
>                 Key: SPARK-23743
>                 URL: https://issues.apache.org/jira/browse/SPARK-23743
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Jongyoul Lee
>            Priority: Minor
>
> {{isSharedClass}} returns if some classes can/should be shared or not. It checks if the classes names have some keywords or start with some names. Following the logic, it can occur unintended behaviors when a custom package has {{slf4j}} inside the package or class name. As I guess, the first intention seems to figure out the class containing {{org.slf4j}}. It would be better to change the comparison logic to {{name.startsWith("org.slf4j")}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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