spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Wendell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-1190) Do not initialize log4j if slf4j log4j backend is not being used
Date Sun, 30 Mar 2014 04:15:17 GMT

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

Patrick Wendell updated SPARK-1190:
-----------------------------------

    Reporter: Patrick Wendell  (was: Patrick Cogan)

> Do not initialize log4j if slf4j log4j backend is not being used
> ----------------------------------------------------------------
>
>                 Key: SPARK-1190
>                 URL: https://issues.apache.org/jira/browse/SPARK-1190
>             Project: Apache Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 0.9.0
>            Reporter: Patrick Wendell
>            Assignee: Patrick Cogan
>            Priority: Blocker
>             Fix For: 1.0.0, 0.9.1
>
>
> I already have a patch here just need to test it and commit. IIRC there were some issues
with the maven build.
> https://github.com/apache/incubator-spark/pull/573
> https://github.com/pwendell/incubator-spark/commit/66594e88e5be50fca073a7ef38fa62db4082b3c8
> initialization with: java.lang.StackOverflowError
> 	at java.lang.ThreadLocal.access$400(ThreadLocal.java:72)
> 	at java.lang.ThreadLocal$ThreadLocalMap.getEntry(ThreadLocal.java:376)
> 	at java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:261)
> 	at java.lang.ThreadLocal.get(ThreadLocal.java:146)
> 	at java.lang.StringCoding.deref(StringCoding.java:63)
> 	at java.lang.StringCoding.encode(StringCoding.java:330)
> 	at java.lang.String.getBytes(String.java:916)
> 	at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
> 	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
> 	at java.io.File.exists(File.java:813)
> 	at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1080)
> 	at sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:1047)
> 	at sun.misc.URLClassPath.findResource(URLClassPath.java:176)
> 	at java.net.URLClassLoader$2.run(URLClassLoader.java:551)
> 	at java.net.URLClassLoader$2.run(URLClassLoader.java:549)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findResource(URLClassLoader.java:548)
> 	at java.lang.ClassLoader.getResource(ClassLoader.java:1147)
> 	at org.apache.spark.Logging$class.initializeLogging(Logging.scala:109)
> 	at org.apache.spark.Logging$class.initializeIfNecessary(Logging.scala:97)
> 	at org.apache.spark.Logging$class.log(Logging.scala:36)
> 	at org.apache.spark.util.Utils$.log(Utils.scala:47)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message