Skip to content

Commit ef9e420

Browse files
committed
fix: rename hbase-site.xml keys for restserver advertisement
1 parent 0b7322b commit ef9e420

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

rust/operator-binary/src/hbase_controller.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -593,16 +593,8 @@ fn build_rolegroup_config_map(
593593
}
594594
HbaseRole::RestServer => {
595595
hbase_site_config.insert(
596-
"hbase.rest.hostname".to_string(),
597-
"${env:HBASE_SERVICE_HOST}".to_string(),
598-
);
599-
hbase_site_config.insert(
600-
"hbase.rest.port".to_string(),
601-
"${env:HBASE_SERVICE_PORT}".to_string(),
602-
);
603-
hbase_site_config.insert(
604-
"hbase.rest.info.port".to_string(),
605-
"${env:HBASE_INFO_PORT}".to_string(),
596+
"hbase.rest.endpoint".to_string(),
597+
"${env:HBASE_SERVICE_HOST}:${env:HBASE_SERVICE_PORT}".to_string(),
606598
);
607599
}
608600
};

0 commit comments

Comments
 (0)