Github user tedyu commented on the pull request:

    https://github.com/apache/spark/pull/10368#issuecomment-167018650
  
    Here was why I implemented equals for Map (from #48257):
    {code}
    [info] - Bug: SPARK-12415 *** FAILED *** (3 milliseconds)
    [info]   java.nio.HeapByteBuffer[pos=0 lim=2 cap=2] null 
org.apache.spark.executor.TaskMetrics@60d6ae17 did not equal 
java.nio.HeapByteBuffer[pos=0 lim=2 cap=2] Map() 
org.apache.spark.executor.TaskMetrics@2122833f Deser 
java.nio.HeapByteBuffer[pos=0 lim=2 cap=2] null 
org.apache.spark.executor.TaskMetrics@60d6ae17 orig 
java.nio.HeapByteBuffer[pos=0 lim=2 cap=2] Map() 
org.apache.spark.executor.TaskMetrics@2122833f (KryoSerializerSuite.scala:163)
    {code}
    One Map was null and one Map was empty.


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