@@ -9,9 +9,9 @@ use std::{
99
1010use const_format:: concatcp;
1111use product_config:: {
12- types:: PropertyNameKind ,
13- writer:: { to_hadoop_xml, to_java_properties_string, PropertiesWriterError } ,
1412 ProductConfigManager ,
13+ types:: PropertyNameKind ,
14+ writer:: { PropertiesWriterError , to_hadoop_xml, to_java_properties_string} ,
1515} ;
1616use snafu:: { OptionExt , ResultExt , Snafu } ;
1717use stackable_operator:: {
@@ -20,8 +20,8 @@ use stackable_operator::{
2020 configmap:: ConfigMapBuilder ,
2121 meta:: ObjectMetaBuilder ,
2222 pod:: {
23- container:: ContainerBuilder , resources:: ResourceRequirementsBuilder ,
24- security:: PodSecurityContextBuilder , PodBuilder ,
23+ PodBuilder , container:: ContainerBuilder , resources:: ResourceRequirementsBuilder ,
24+ security:: PodSecurityContextBuilder ,
2525 } ,
2626 } ,
2727 cluster_resources:: { ClusterResourceApplyStrategy , ClusterResources } ,
@@ -37,9 +37,9 @@ use stackable_operator::{
3737 apimachinery:: pkg:: { apis:: meta:: v1:: LabelSelector , util:: intstr:: IntOrString } ,
3838 } ,
3939 kube:: {
40- core:: { error_boundary, DeserializeGuard } ,
41- runtime:: controller:: Action ,
4240 Resource , ResourceExt ,
41+ core:: { DeserializeGuard , error_boundary} ,
42+ runtime:: controller:: Action ,
4343 } ,
4444 kvp:: { Label , LabelError , Labels , ObjectLabels } ,
4545 logging:: controller:: ReconcilerError ,
@@ -64,14 +64,15 @@ use stackable_operator::{
6464use strum:: { EnumDiscriminants , IntoStaticStr , ParseError } ;
6565
6666use crate :: {
67+ OPERATOR_NAME ,
6768 config:: jvm:: {
6869 construct_global_jvm_args, construct_hbase_heapsize_env,
6970 construct_role_specific_non_heap_jvm_args,
7071 } ,
7172 crd:: {
72- merged_env , v1alpha1 , AnyServiceConfig , Container , HbaseClusterStatus , HbaseRole , APP_NAME ,
73- HBASE_ENV_SH , HBASE_REST_PORT_NAME_HTTP , HBASE_REST_PORT_NAME_HTTPS , HBASE_SITE_XML ,
74- JVM_SECURITY_PROPERTIES_FILE , SSL_CLIENT_XML , SSL_SERVER_XML ,
73+ APP_NAME , AnyServiceConfig , Container , HBASE_ENV_SH , HBASE_REST_PORT_NAME_HTTP ,
74+ HBASE_REST_PORT_NAME_HTTPS , HBASE_SITE_XML , HbaseClusterStatus , HbaseRole ,
75+ JVM_SECURITY_PROPERTIES_FILE , SSL_CLIENT_XML , SSL_SERVER_XML , merged_env , v1alpha1 ,
7576 } ,
7677 discovery:: build_discovery_configmap,
7778 kerberos:: {
@@ -80,12 +81,11 @@ use crate::{
8081 } ,
8182 operations:: { graceful_shutdown:: add_graceful_shutdown_config, pdb:: add_pdbs} ,
8283 product_logging:: {
83- extend_role_group_config_map , resolve_vector_aggregator_address ,
84- CONTAINERDEBUG_LOG_DIRECTORY , STACKABLE_LOG_DIR ,
84+ CONTAINERDEBUG_LOG_DIRECTORY , STACKABLE_LOG_DIR , extend_role_group_config_map ,
85+ resolve_vector_aggregator_address ,
8586 } ,
8687 security:: { self , opa:: HbaseOpaConfig } ,
8788 zookeeper:: { self , ZookeeperConnectionInformation } ,
88- OPERATOR_NAME ,
8989} ;
9090
9191pub const HBASE_CONTROLLER_NAME : & str = "hbasecluster" ;
0 commit comments