Qi Tan created SPARK-53026:
------------------------------

             Summary: Fix deserialize error for spec with 
DriverServiceIngressSpec field
                 Key: SPARK-53026
                 URL: https://issues.apache.org/jira/browse/SPARK-53026
             Project: Spark
          Issue Type: Sub-task
          Components: k8s
    Affects Versions: kubernetes-operator-0.4.0
            Reporter: Qi Tan


Without the annotation, when applying the spec with DriverServiceIngressSpec, 
deserialization failed.



Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: 
Cannot construct instance of 
`org.apache.spark.k8s.operator.spec.DriverServiceIngressSpec` (no Creators, 
like default constructor, exist): cannot deserialize from Object value (no 
delegate- or property-based Creator)

 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` 
disabled); line: 1, column: 69709] (through reference chain: 
org.apache.spark.k8s.operator.SparkApplicationList["items"]->java.util.ArrayList[1]->org.apache.spark.k8s.operator.SparkApplication["spec"]->org.apache.spark.k8s.operator.spec.ApplicationSpec["driverServiceIngressList"]->java.util.ArrayList[0])



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to