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

[jira] [Updated] (SPARK-45668) Improve the assert message in `RollingEventLogFilesFileReader`

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org