[ 
https://issues.apache.org/jira/browse/SPARK-10057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865601#comment-15865601
 ] 

Samir Ouldsaadi commented on SPARK-10057:
-----------------------------------------

Same issue happening in spark 2.1.0 
to reproduce:

scala> val sqlContext = new org.apache.spark.sql.SQLContext(sc)
warning: there was one deprecation warning; re-run with -deprecation for details
sqlContext: org.apache.spark.sql.SQLContext = 
org.apache.spark.sql.SQLContext@790d629a

scala> import sqlContext._
import sqlContext._

scala> case class Person(name: String, age: Int)
defined class Person

scala> val people = 
sc.textFile("/opt/spark-2.1.0-bin-hadoop2.7/examples/src/main/resources/people.txt").map(_.split(",")).map(p=>
 Person(p(0), p(1).trim.toInt))
people: org.apache.spark.rdd.RDD[Person] = MapPartitionsRDD[3] at map at 
<console>:31


scala> people.toDF().registerTempTable("people")
warning: there was one deprecation warning; re-run with -deprecation for details

scala> people.toDF().write.parquet("people.parquet")
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.

scala>


> Faill to load class org.slf4j.impl.StaticLoggerBinder
> -----------------------------------------------------
>
>                 Key: SPARK-10057
>                 URL: https://issues.apache.org/jira/browse/SPARK-10057
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Davies Liu
>
> Some loggings are dropped, because it can't load class 
> "org.slf4j.impl.StaticLoggerBinder"
> {code}
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
> details.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to