title: Error writing parquet file in S3 with Apache Spark in Scala
body: <p>I'm using databricks to run my spark cluster( On-demand / Spark 1.6.0 (Hadoop 1) ), and using a scala notebook.</p>
  
  <p>The fist time I try to create a parquet file in my S3 bucket with scala throw me this error:</p>
  
  <p><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></p>
  
  <p>But when I check my bucket the files are there, if I run again the cell with the same code, works fine, it seems like the first run always fail.</p>
  
  <p>This is my code :</p>
  
  <p><code>data_frame.write.mode("append").partitionBy("date").parquet("s3n://...")
  </code></p>