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

    https://github.com/apache/spark/pull/771#discussion_r18204443
  
    --- Diff: 
core/src/main/scala/org/apache/spark/deploy/master/FileSystemPersistenceEngine.scala
 ---
    @@ -79,11 +80,9 @@ private[spark] class FileSystemPersistenceEngine(
         val created = file.createNewFile()
         if (!created) { throw new IllegalStateException("Could not create 
file: " + file) }
     
    -    val serializer = serialization.findSerializerFor(value)
    -    val serialized = serializer.toBinary(value)
    -
    +    val serialized = serializer.serialize(value)
         val out = new FileOutputStream(file)
    -    out.write(serialized)
    +    out.write(serialized.array())
    --- End diff --
    
    I did not understand, what you meant here.


---
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.
---

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

Reply via email to