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

Structured streaming not working in history server when using LevelDB

    XMLWordPrintableJSON

Details

    Description

      In SPARK-31953, structured streaming support is added to history server. However this does not work when spark.history.store.path is set to save app info using LevelDB.

      This is because one of the keys of StreamingQueryData, runId,  is UUID type, which is not supported by LevelDB. When replaying event log file in history server, StreamingQueryStatusListener will throw an exception when writing info to the store, saying "java.lang.IllegalArgumentException: Type java.util.UUID not allowed as key.".

      Example event log is provided in attachments. When opening it in history server with spark.history.store.path set to somewhere, no structured streaming info is available.

      Attachments

        1. local-1643373518829
          1.18 MB
          wy

        Activity

          People

            wekoms wy
            wekoms wy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: