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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16405756#comment-16405756 ] 

Hyukjin Kwon commented on SPARK-23743:
--------------------------------------

(let's avoid to set a target version which is usually set by a committer)

> 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