Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19721

Good error message for version mismatch in log files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: Structured Streaming
    • Labels:
      None
    • Target Version/s:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              lwlin Liwei Lin
              Reporter:
              marmbrus Michael Armbrust
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: