mridulm commented on PR #36222: URL: https://github.com/apache/spark/pull/36222#issuecomment-1102084674
@yaooqinn I am trying to understand why it is `null` to begin with - `getPreferredLocations` is expected to either return `Nil` or a sequence with preferred locality - not `null` within that `Seq`. If there is some codepath in spark which is resulting `null` getting generated, we should fix that. `convertSplitLocationInfo`, which you had modified, should not be having `null` as input - atleast based on my understanding of `InputSplitWithLocationInfo.getLocationInfo`/`InputSplit. getLocationInfo ` Pleas let me know if I am missing something here. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org