@@ -10,9 +10,9 @@ use std::{
1010use const_format:: concatcp;
1111use indoc:: formatdoc;
1212use product_config:: {
13- types:: PropertyNameKind ,
14- writer:: { to_hadoop_xml, to_java_properties_string, PropertiesWriterError } ,
1513 ProductConfigManager ,
14+ types:: PropertyNameKind ,
15+ writer:: { PropertiesWriterError , to_hadoop_xml, to_java_properties_string} ,
1616} ;
1717use snafu:: { OptionExt , ResultExt , Snafu } ;
1818use stackable_operator:: {
@@ -21,14 +21,14 @@ use stackable_operator::{
2121 configmap:: ConfigMapBuilder ,
2222 meta:: ObjectMetaBuilder ,
2323 pod:: {
24+ PodBuilder ,
2425 container:: ContainerBuilder ,
2526 resources:: ResourceRequirementsBuilder ,
2627 security:: PodSecurityContextBuilder ,
2728 volume:: {
2829 ListenerOperatorVolumeSourceBuilder , ListenerOperatorVolumeSourceBuilderError ,
2930 ListenerReference ,
3031 } ,
31- PodBuilder ,
3232 } ,
3333 } ,
3434 cluster_resources:: { ClusterResourceApplyStrategy , ClusterResources } ,
@@ -44,9 +44,9 @@ use stackable_operator::{
4444 apimachinery:: pkg:: { apis:: meta:: v1:: LabelSelector , util:: intstr:: IntOrString } ,
4545 } ,
4646 kube:: {
47- core:: { error_boundary, DeserializeGuard } ,
48- runtime:: controller:: Action ,
4947 Resource , ResourceExt ,
48+ core:: { DeserializeGuard , error_boundary} ,
49+ runtime:: controller:: Action ,
5050 } ,
5151 kvp:: { Label , LabelError , Labels , ObjectLabels } ,
5252 logging:: controller:: ReconcilerError ,
@@ -71,15 +71,16 @@ use stackable_operator::{
7171use strum:: { EnumDiscriminants , IntoStaticStr , ParseError } ;
7272
7373use crate :: {
74+ OPERATOR_NAME ,
7475 config:: jvm:: {
7576 construct_global_jvm_args, construct_hbase_heapsize_env,
7677 construct_role_specific_non_heap_jvm_args,
7778 } ,
7879 crd:: {
79- merged_env , v1alpha1 , AnyServiceConfig , Container , HbaseClusterStatus , HbasePodRef ,
80- HbaseRole , APP_NAME , HBASE_ENV_SH , HBASE_REST_PORT_NAME_HTTP , HBASE_REST_PORT_NAME_HTTPS ,
81- HBASE_SITE_XML , JVM_SECURITY_PROPERTIES_FILE , LISTENER_VOLUME_DIR , LISTENER_VOLUME_NAME ,
82- SSL_CLIENT_XML , SSL_SERVER_XML ,
80+ APP_NAME , AnyServiceConfig , Container , HBASE_ENV_SH , HBASE_REST_PORT_NAME_HTTP ,
81+ HBASE_REST_PORT_NAME_HTTPS , HBASE_SITE_XML , HbaseClusterStatus , HbasePodRef , HbaseRole ,
82+ JVM_SECURITY_PROPERTIES_FILE , LISTENER_VOLUME_DIR , LISTENER_VOLUME_NAME , SSL_CLIENT_XML ,
83+ SSL_SERVER_XML , merged_env , v1alpha1 ,
8384 } ,
8485 discovery:: { build_discovery_configmap, build_endpoint_configmap} ,
8586 kerberos:: {
@@ -88,12 +89,11 @@ use crate::{
8889 } ,
8990 operations:: { graceful_shutdown:: add_graceful_shutdown_config, pdb:: add_pdbs} ,
9091 product_logging:: {
91- extend_role_group_config_map , resolve_vector_aggregator_address ,
92- CONTAINERDEBUG_LOG_DIRECTORY , STACKABLE_LOG_DIR ,
92+ CONTAINERDEBUG_LOG_DIRECTORY , STACKABLE_LOG_DIR , extend_role_group_config_map ,
93+ resolve_vector_aggregator_address ,
9394 } ,
9495 security:: { self , opa:: HbaseOpaConfig } ,
9596 zookeeper:: { self , ZookeeperConnectionInformation } ,
96- OPERATOR_NAME ,
9797} ;
9898
9999pub const HBASE_CONTROLLER_NAME : & str = "hbasecluster" ;
0 commit comments