Vladimir Golubev created SPARK-48114:
----------------------------------------

             Summary: ErrorClassesJsonReader complies template regex on every 
template resolution
                 Key: SPARK-48114
                 URL: https://issues.apache.org/jira/browse/SPARK-48114
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 4.0.0
            Reporter: Vladimir Golubev


`SparkRuntimeException` uses `SparkThrowableHelper`, which uses 
`ErrorClassesJsonReader` to create error message string from templates in 
`error-conditions.json`, but template regex is compiled on every 
`SparkRuntimeException` constructor invocation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to