@@ -50,30 +50,14 @@ pub const DUMMY_SPARK_CONNECT_GROUP_NAME: &str = "default";
5050
5151#[ derive( Snafu , Debug ) ]
5252pub enum Error {
53- #[ snafu( display( "failed to transform configs" ) ) ]
54- ProductConfigTransform {
55- source : stackable_operator:: product_config_utils:: Error ,
56- } ,
57-
58- #[ snafu( display( "invalid product config" ) ) ]
59- InvalidProductConfig {
60- source : stackable_operator:: product_config_utils:: Error ,
61- } ,
62-
6353 #[ snafu( display( "fragment validation failure" ) ) ]
6454 FragmentValidationFailure { source : ValidationError } ,
65-
66- #[ snafu( display( "the role group {role_group} is not defined" ) ) ]
67- CannotRetrieveRoleGroup { role_group : String } ,
68-
69- #[ snafu( display( "failed to construct JVM arguments" ) ) ]
70- ConstructJvmArguments ,
7155}
7256
7357#[ versioned( version( name = "v1alpha1" ) ) ]
7458pub mod versioned {
7559
76- /// A Spark cluster connect server component. This resource is managed by the Stackable operator
60+ /// An Apache Spark Connect server component. This resource is managed by the Stackable operator
7761 /// for Apache Spark. Find more information on how to use it in the
7862 /// [operator documentation](DOCS_BASE_URL_PLACEHOLDER/spark-k8s/usage-guide/connect-server).
7963 #[ versioned( k8s(
@@ -94,7 +78,7 @@ pub mod versioned {
9478 pub struct SparkConnectServerSpec {
9579 pub image : ProductImage ,
9680
97- /// Global Spark connect server configuration that applies to all roles and role groups .
81+ /// Global Spark Connect server configuration that applies to all roles.
9882 #[ serde( default ) ]
9983 pub cluster_config : v1alpha1:: SparkConnectServerClusterConfig ,
10084
@@ -111,11 +95,11 @@ pub mod versioned {
11195 #[ serde( skip_serializing_if = "Option::is_none" ) ]
11296 pub vector_aggregator_config_map_name : Option < String > ,
11397
114- /// A spark connect server definition.
98+ /// A Spark Connect server definition.
11599 #[ serde( default , skip_serializing_if = "Option::is_none" ) ]
116100 pub server : Option < CommonConfiguration < ServerConfigFragment , JavaCommonConfig > > ,
117101
118- /// Spark connect executor properties.
102+ /// Spark Connect executor properties.
119103 #[ serde( default , skip_serializing_if = "Option::is_none" ) ]
120104 pub executor : Option < CommonConfiguration < ExecutorConfigFragment , JavaCommonConfig > > ,
121105 }
0 commit comments