[ https://issues.apache.org/jira/browse/SPARK-33790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17265724#comment-17265724 ]
dzcxzl edited comment on SPARK-33790 at 1/15/21, 4:27 PM: ---------------------------------------------------------- Thread stack when not working. PID 117049 0x1c939 [^top.png] [^jstack.png] [https://github.com/scala/bug/issues/10436] was (Author: dzcxzl): Thread stack when not working. PID 117049 0x1c939 !top.png! !jstack.png! [https://github.com/scala/bug/issues/10436] > 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 > Assignee: dzcxzl > Priority: Critical > Fix For: 3.0.2, 3.2.0, 3.1.1 > > > 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 and improve the speed of the history > server. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org