You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "dzcxzl (Jira)" <ji...@apache.org> on 2020/12/15 12:05:00 UTC

[jira] [Created] (SPARK-33790) Reduce the rpc call of getFileStatus in SingleFileEventLogFileReader

dzcxzl created SPARK-33790:
------------------------------

             Summary: Reduce the rpc call of getFileStatus in SingleFileEventLogFileReader
                 Key: SPARK-33790
                 URL: https://issues.apache.org/jira/browse/SPARK-33790
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.0.1
            Reporter: dzcxzl


FsHistoryProvider#checkForLogs already has FileStatus when constructing SingleFileEventLogFileReader, and there is no need to get the FileStatus again when SingleFileEventLogFileReader#fileSizeForLastIndex.
This can reduce a lot of rpc calls.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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