[jira] [Assigned] (SPARK-38579) Requesting Restful API can cause NullPointerException
[ https://issues.apache.org/jira/browse/SPARK-38579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yuming Wang reassigned SPARK-38579: --- Assignee: Yimin Yang > Requesting Restful API can cause NullPointerException > - > > Key: SPARK-38579 > URL: https://issues.apache.org/jira/browse/SPARK-38579 > Project: Spark > Issue Type: Bug > Components: Web UI >Affects Versions: 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1 >Reporter: Yimin Yang >Assignee: Yimin Yang >Priority: Major > > When requesting Restful API > \{baseURL}/api/v1/applications/$appId/sql/$executionId which is introduced by > this PR [https://github.com/apache/spark/pull/28208,] it can cause > NullPointerException. The root cause is, when calling method doUpdate() of > `LiveExecutionData`, `metricsValues` can be null. Then, when statement > `printableMetrics(graph.allNodes, exec.metricValues)` is executed, it will > throw NullPointerException. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Assigned] (SPARK-38579) Requesting Restful API can cause NullPointerException
[ https://issues.apache.org/jira/browse/SPARK-38579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-38579: Assignee: Apache Spark > Requesting Restful API can cause NullPointerException > - > > Key: SPARK-38579 > URL: https://issues.apache.org/jira/browse/SPARK-38579 > Project: Spark > Issue Type: Bug > Components: Web UI >Affects Versions: 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1 >Reporter: Yimin Yang >Assignee: Apache Spark >Priority: Major > > When requesting Restful API > \{baseURL}/api/v1/applications/$appId/sql/$executionId which is introduced by > this PR [https://github.com/apache/spark/pull/28208,] it can cause > NullPointerException. The root cause is, when calling method doUpdate() of > `LiveExecutionData`, `metricsValues` can be null. Then, when statement > `printableMetrics(graph.allNodes, exec.metricValues)` is executed, it will > throw NullPointerException. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Assigned] (SPARK-38579) Requesting Restful API can cause NullPointerException
[ https://issues.apache.org/jira/browse/SPARK-38579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-38579: Assignee: (was: Apache Spark) > Requesting Restful API can cause NullPointerException > - > > Key: SPARK-38579 > URL: https://issues.apache.org/jira/browse/SPARK-38579 > Project: Spark > Issue Type: Bug > Components: Web UI >Affects Versions: 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1 >Reporter: Yimin Yang >Priority: Major > > When requesting Restful API > \{baseURL}/api/v1/applications/$appId/sql/$executionId which is introduced by > this PR [https://github.com/apache/spark/pull/28208,] it can cause > NullPointerException. The root cause is, when calling method doUpdate() of > `LiveExecutionData`, `metricsValues` can be null. Then, when statement > `printableMetrics(graph.allNodes, exec.metricValues)` is executed, it will > throw NullPointerException. -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org