jin xing created SPARK-23524:
--------------------------------

             Summary: Big local shuffle blocks should not be checked for 
corruption.
                 Key: SPARK-23524
                 URL: https://issues.apache.org/jira/browse/SPARK-23524
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 2.2.1
            Reporter: jin xing


In current code, all local blocks will be checked for corruption no matter it's 
big or not.  The reasons are as below:
 # Size in FetchResult for local block is set to be 0 
([https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala#L327)]
 # SPARK-4105 meant to only check the small blocks(size<maxBytesInFlight/3), 
but for reason 1, below check will be invalid. 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala#L420



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to