Skip to content

Commit bd1db17

Browse files
committed
cleaned up/reverted previous wip II
1 parent dd793c0 commit bd1db17

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

rust/operator-binary/src/hbase_controller.rs

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -584,39 +584,6 @@ fn build_rolegroup_config_map(
584584
hbase_site_config
585585
.extend(hbase_opa_config.map_or(vec![], |config| config.hbase_site_config()));
586586

587-
match hbase_role {
588-
HbaseRole::Master => {
589-
hbase_site_config.insert(
590-
"hbase.master.hostname".to_string(),
591-
"${HBASE_SERVICE_HOST}".to_string(),
592-
);
593-
hbase_site_config.insert(
594-
"hbase.master.port".to_string(),
595-
"${HBASE_SERVICE_PORT}".to_string(),
596-
)
597-
}
598-
HbaseRole::RegionServer => {
599-
hbase_site_config.insert(
600-
"hbase.regionserver.hostname".to_string(),
601-
"${HBASE_SERVICE_HOST}".to_string(),
602-
);
603-
hbase_site_config.insert(
604-
"hbase.regionserver.port".to_string(),
605-
"${HBASE_SERVICE_PORT}".to_string(),
606-
)
607-
}
608-
HbaseRole::RestServer => {
609-
hbase_site_config.insert(
610-
"hbase.rest.hostname".to_string(),
611-
"${HBASE_SERVICE_HOST}".to_string(),
612-
);
613-
hbase_site_config.insert(
614-
"hbase.rest.port".to_string(),
615-
"${HBASE_SERVICE_PORT}".to_string(),
616-
)
617-
}
618-
};
619-
620587
// configOverride come last
621588
hbase_site_config.extend(config.clone());
622589
hbase_site_xml = to_hadoop_xml(

0 commit comments

Comments
 (0)