Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/179#discussion_r10857873
  
    --- Diff: core/src/main/scala/org/apache/spark/scheduler/JobLogger.scala ---
    @@ -55,7 +55,9 @@ class JobLogger(val user: String, val logDirName: String) 
extends SparkListener
       private val jobIdToPrintWriter = new HashMap[Int, PrintWriter]
       private val stageIdToJobId = new HashMap[Int, Int]
       private val jobIdToStageIds = new HashMap[Int, Seq[Int]]
    -  private val DATE_FORMAT = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss")
    +  private val dateFormat = new ThreadLocal[SimpleDateFormat]() {
    +    override def initialValue(): SimpleDateFormat = new 
SimpleDateFormat("yyyy/MM/dd HH:mm:ss")
    --- End diff --
    
    think you can drop the first type declaration here. Not a big deal -I'll 
just clean it up when merging.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to