You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Immanuel Buder (Jira)" <ji...@apache.org> on 2022/11/29 05:02:00 UTC

[jira] [Updated] (SPARK-41311) Rewrite test RENAME_SRC_PATH_NOT_FOUND to trigger the error from user space

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

Immanuel Buder updated SPARK-41311:
-----------------------------------
    Description: 
Rewrite the test for error class *RENAME_SRC_PATH_NOT_FOUND* to trigger the error from user space. The current test uses non-user-facing class FileSystemBasedCheckpointFileManager to trigger the error. (see [https://github.com/apache/spark/pull/38782/files/bea17e4fa61a06ff566b0ff1c3fcc39fa1100912#diff-b1989c7e0e4b50291fb7bdd2993da387102c669a47fe6e2077b23b37d78b18beR680] )

Done when: the test uses user-facing APIs as much as possible.

Proposed solution: rewrite the test following the example of [https://github.com/apache/spark/pull/38782/files/bea17e4fa61a06ff566b0ff1c3fcc39fa1100912#diff-b1989c7e0e4b50291fb7bdd2993da387102c669a47fe6e2077b23b37d78b18beR641]

See [https://github.com/apache/spark/pull/38782#discussion_r1033013064] for more context

> Rewrite test RENAME_SRC_PATH_NOT_FOUND to trigger the error from user space
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-41311
>                 URL: https://issues.apache.org/jira/browse/SPARK-41311
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Immanuel Buder
>            Priority: Minor
>
> Rewrite the test for error class *RENAME_SRC_PATH_NOT_FOUND* to trigger the error from user space. The current test uses non-user-facing class FileSystemBasedCheckpointFileManager to trigger the error. (see [https://github.com/apache/spark/pull/38782/files/bea17e4fa61a06ff566b0ff1c3fcc39fa1100912#diff-b1989c7e0e4b50291fb7bdd2993da387102c669a47fe6e2077b23b37d78b18beR680] )
> Done when: the test uses user-facing APIs as much as possible.
> Proposed solution: rewrite the test following the example of [https://github.com/apache/spark/pull/38782/files/bea17e4fa61a06ff566b0ff1c3fcc39fa1100912#diff-b1989c7e0e4b50291fb7bdd2993da387102c669a47fe6e2077b23b37d78b18beR641]
> See [https://github.com/apache/spark/pull/38782#discussion_r1033013064] for more context



--
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