yl09099 opened a new issue, #2296:
URL: https://github.com/apache/incubator-uniffle/issues/2296

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the bug
   
   Rss RssShuffleManager getExpectedTasksByExecutorId method in reflection 
calls Spark3 getMapSizesByExecutorId method.Will call 
getPushBasedShuffleMapSizesByExecutorId method.
     override def getPushBasedShuffleMapSizesByExecutorId(
         shuffleId: Int,
         startMapIndex: Int,
         endMapIndex: Int,
         startPartition: Int,
         endPartition: Int): MapSizesByExecutorId = {
       logDebug(s"Fetching outputs for shuffle $shuffleId")
       val (mapOutputStatuses, mergedOutputStatuses) = getStatuses(shuffleId, 
conf)
       try {
         val actualEndMapIndex =
           if (endMapIndex == Int.MaxValue) mapOutputStatuses.length else 
endMapIndex
         logDebug(s"Convert map statuses for shuffle $shuffleId, " +
           s"mappers $startMapIndex-$actualEndMapIndex, partitions 
$startPartition-$endPartition")
         MapOutputTracker.convertMapStatuses(
           shuffleId, startPartition, endPartition, mapOutputStatuses, 
startMapIndex,
             actualEndMapIndex, Option(mergedOutputStatuses))
       } catch {
         case e: MetadataFetchFailedException =>
           // We experienced a fetch failure so our mapStatuses cache is 
outdated; clear it:
           mapStatuses.clear()
           mergeStatuses.clear()
           throw e
       }
     }
   MetadataFetchFailedException is a FetchFailed abnormalities, will trigger 
Stage Retry, cleared mapStatuses and mergeStatuses here, however, when Retry 
will lose data.
   
   ### Affects Version(s)
   
   0.10.0
   
   ### Uniffle Server Log Output
   
   _No response_
   
   ### Uniffle Engine Log Output
   
   _No response_
   
   ### Uniffle Server Configurations
   
   _No response_
   
   ### Uniffle Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to