[ 
https://issues.apache.org/jira/browse/SPARK-45668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

shuyouZZ updated SPARK-45668:
-----------------------------
    Description: 
Currently the assert message in `RollingEventLogFilesFileReader` is not clear. 
When the assertion fails, it's difficult to find the event log file that is 
having problems.

In this ticket, we will update the following two places to make the assert 
message clearer.
 * {*}val files{*}. Add `rootPath{*}`{*} field in the assert message.
 * {*}val eventLogFiles{*}. Add new method `findMissingIndices`, only print the 
missing event log indices instead of all indices.

  was:
Currently the assert message in RollingEventLogFilesFileReader ** is not clear. 
When the assertion fails, it's difficult to find the event log file that is 
having problems.

In this ticket, we will update the following two places to make the assert 
message clearer.
 * {*}val files{*}. Add `rootPath{*}`{*} field in the assert message.
 * {*}val eventLogFiles{*}. Add new method `findMissingIndices`, only print the 
missing event log indices instead of all indices.


> Improve the assert message in `RollingEventLogFilesFileReader`
> --------------------------------------------------------------
>
>                 Key: SPARK-45668
>                 URL: https://issues.apache.org/jira/browse/SPARK-45668
>             Project: Spark
>          Issue Type: Task
>          Components: Spark Core
>    Affects Versions: 3.5.0
>            Reporter: shuyouZZ
>            Priority: Minor
>
> Currently the assert message in `RollingEventLogFilesFileReader` is not 
> clear. When the assertion fails, it's difficult to find the event log file 
> that is having problems.
> In this ticket, we will update the following two places to make the assert 
> message clearer.
>  * {*}val files{*}. Add `rootPath{*}`{*} field in the assert message.
>  * {*}val eventLogFiles{*}. Add new method `findMissingIndices`, only print 
> the missing event log indices instead of all indices.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to