@@ -584,39 +584,6 @@ fn build_rolegroup_config_map(
584
584
hbase_site_config
585
585
. extend ( hbase_opa_config. map_or ( vec ! [ ] , |config| config. hbase_site_config ( ) ) ) ;
586
586
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
-
620
587
// configOverride come last
621
588
hbase_site_config. extend ( config. clone ( ) ) ;
622
589
hbase_site_xml = to_hadoop_xml (
0 commit comments