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

Shixiong Zhu updated SPARK-19721:
---------------------------------
    Fix Version/s: 2.2.0

> Good error message for version mismatch in log files
> ----------------------------------------------------
>
>                 Key: SPARK-19721
>                 URL: https://issues.apache.org/jira/browse/SPARK-19721
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 2.1.0
>            Reporter: Michael Armbrust
>            Priority: Blocker
>             Fix For: 2.2.0
>
>
> There are several places where we write out version identifiers in various 
> logs for structured streaming (usually {{v1}}).  However, in the places where 
> we check for this, we throw a confusing error message.  Instead, we should do 
> the following:
>  - Find all of the places where we do this kind of check.
>  - for {{vN}} where {{n>1}} say "UnsupportedLogFormat: The file {{path}} was 
> produced by a newer version of Spark and cannot be read by this version.  
> Please upgrade"
>  - for anything else throw an error saying the file is malformed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to