File tree Expand file tree Collapse file tree
controller/build/properties Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ use crate::{
1616} ;
1717
1818/// Renders `hbase-site.xml`.
19- #[ allow( clippy:: too_many_arguments) ]
2019pub fn build (
2120 role : & HbaseRole ,
2221 merged_config : & AnyServiceConfig ,
@@ -27,7 +26,7 @@ pub fn build(
2726) -> String {
2827 let mut config: BTreeMap < String , String > = BTreeMap :: new ( ) ;
2928
30- // Defaults previously injected by product-config's `compute_files`.
29+ // Defaults
3130 config. insert ( HBASE_CLUSTER_DISTRIBUTED . to_string ( ) , "true" . to_string ( ) ) ;
3231 config. insert ( HBASE_ROOTDIR . to_string ( ) , merged_config. hbase_rootdir ( ) ) ;
3332
Original file line number Diff line number Diff line change 11//! Builds the `security.properties` (JVM security) config file.
22//!
3- //! The operator injects role-specific JVM DNS cache TTLs (preserving the
4- //! behaviour previously defined in `properties.yaml`). User `configOverrides`
5- //! are applied on top.
3+ //! The operator injects role-specific JVM DNS cache TTLs.
4+ //! User `configOverrides` are applied on top.
65
76use std:: collections:: BTreeMap ;
87
@@ -37,7 +36,7 @@ pub fn build(
3736 "0" . to_string ( ) ,
3837 ) ,
3938 ] ) ;
40- // Overrides applied last so users win .
39+ // Overrides applied last.
4140 config. extend ( overrides) ;
4241 to_java_properties_string ( config. iter ( ) )
4342}
Original file line number Diff line number Diff line change @@ -886,8 +886,7 @@ impl AnyServiceConfig {
886886 }
887887 }
888888
889- /// The configured `hbase.rootdir`. Previously injected into
890- /// `hbase-site.xml` via product-config's `compute_files`.
889+ /// The configured `hbase.rootdir`.
891890 pub fn hbase_rootdir ( & self ) -> String {
892891 match self {
893892 AnyServiceConfig :: Master ( config) => config. hbase_rootdir . clone ( ) ,
You can’t perform that action at this time.
0 commit comments