[ 
https://issues.apache.org/jira/browse/HUDI-5832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HUDI-5832:
---------------------------------
    Labels: pull-request-available  (was: )

> hbase-site.xml has multiple wrong default property value about classes
> ----------------------------------------------------------------------
>
>                 Key: HUDI-5832
>                 URL: https://issues.apache.org/jira/browse/HUDI-5832
>             Project: Apache Hudi
>          Issue Type: Improvement
>            Reporter: Rascal Wu
>            Priority: Major
>              Labels: pull-request-available
>
> In the 
> [hbase-site.xml|https://github.com/apache/hudi/blob/master/hudi-common/src/main/resources/hbase-site.xml]
>  under hudi-common module, there are some properties about `classes`, which 
> will be used to create corresponding instance via reflection, for example:
> ```
> hbase.rest.filter.classes=org.apache.hadoop.hbase.rest.filter.GzipFilter,
> hbase.master.loadbalancer.class=org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer
> hbase.coordinated.state.manager.class=org.apache.hadoop.hbase.coordination.ZkCoordinatedStateManager
> hbase.namedqueue.provider.classes=org.apache.hadoop.hbase.namequeues.impl.SlowLogQueueService,org.apache.hadoop.hbase.namequeues.impl.BalancerDecisionQueueService,org.apache.hadoop.hbase.namequeues.impl.BalancerRejectionQueueService
> ```
>  
> But actually, we have relocated these classese during build the bundle jar 
> from 
> [https://github.com/apache/hudi/blob/d439fab2421a4484a38f1ad69fa95bd2a4fb275f/pom.xml#L448,]
>  which means that the configured classes are not existed, because they have 
> beed relocated, for example, 
> `org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer` has been 
> relocated to 
> `prg.apache.hudi.org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer`,
>  which lead the problem that these configured classes cannot be found during 
> running spark/flink applications.
>  
> So should we configured the relocated classes? or do we still need the 
> hbase-site.xml



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to