[refactor](libhdfs) introduce hadoop libhdfs (#18204)
1. Introduce hadoop libhdfs 2. For Linux-X86 platform, use the hadoop libhdfs 3. For other platform, use libhdfs3, because currently we don't have hadoop libhdfs binary for other platform Co-authored-by: adonis0147 <adonis0147@gmail.com>
This commit is contained in:
@ -271,7 +271,7 @@ public class BeLoadRebalancer extends Rebalancer {
|
||||
if (lowBackend == null) {
|
||||
continue;
|
||||
}
|
||||
if (hosts.contains(lowBackend.getIp())) {
|
||||
if (!Config.allow_replica_on_same_host && hosts.contains(lowBackend.getIp())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user