[ https://issues.apache.org/jira/browse/SPARK-26818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-26818: ------------------------------------ Assignee: Apache Spark (was: Hyukjin Kwon) > Make MLEvents JSON ser/de safe > ------------------------------ > > Key: SPARK-26818 > URL: https://issues.apache.org/jira/browse/SPARK-26818 > Project: Spark > Issue Type: Bug > Components: ML > Affects Versions: 3.0.0 > Reporter: Hyukjin Kwon > Assignee: Apache Spark > Priority: Major > > Looks ML events are not JSON serializable. We can make it serialisable like: > {code} > @DeveloperApi > case class SparkListenerSQLExecutionEnd(executionId: Long, time: Long) > extends SparkListenerEvent { > // The name of the execution, e.g. `df.collect` will trigger a SQL > execution with name "collect". > @JsonIgnore private[sql] var executionName: Option[String] = None > // The following 3 fields are only accessed when `executionName` is defined. > // The duration of the SQL execution, in nanoseconds. > @JsonIgnore private[sql] var duration: Long = 0L > // The `QueryExecution` instance that represents the SQL execution > @JsonIgnore private[sql] var qe: QueryExecution = null > // The exception object that caused this execution to fail. None if the > execution doesn't fail. > @JsonIgnore private[sql] var executionFailure: Option[Exception] = None > } > {code}. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org