public interface Matcher
| Modifier and Type | Field and Description | 
|---|---|
| static Matcher | ANY_OTHERMatch any datanode with any other datanode. | 
| static Matcher | SAME_NODE_GROUPMatch datanodes in the same node group. | 
| static Matcher | SAME_RACKMatch datanodes in the same rack. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | match(org.apache.hadoop.net.NetworkTopology cluster,
     org.apache.hadoop.net.Node left,
     org.apache.hadoop.net.Node right)Given the cluster topology, does the left node match the right node? | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.