@Private
public final class ECTopologyVerifier
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.ECTopologyVerifierResult |
getECTopologyVerifierResult(int numOfRacks,
int numOfDataNodes,
java.util.Collection<org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy> policies) |
Verifies whether the cluster setup can support all enabled EC policies.
|
static org.apache.hadoop.hdfs.protocol.ECTopologyVerifierResult |
getECTopologyVerifierResult(org.apache.hadoop.hdfs.protocol.DatanodeInfo[] report,
java.util.Collection<org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy> policies) |
Verifies whether the cluster setup can support the given EC policies.
|
public static org.apache.hadoop.hdfs.protocol.ECTopologyVerifierResult getECTopologyVerifierResult(org.apache.hadoop.hdfs.protocol.DatanodeInfo[] report,
java.util.Collection<org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy> policies)
report - list of data node descriptors for all data nodespolicies - erasure coding policies to verifypublic static org.apache.hadoop.hdfs.protocol.ECTopologyVerifierResult getECTopologyVerifierResult(int numOfRacks,
int numOfDataNodes,
java.util.Collection<org.apache.hadoop.hdfs.protocol.ErasureCodingPolicy> policies)
numOfRacks - number of racksnumOfDataNodes - number of data nodespolicies - erasure coding policies to verifyCopyright © 2008–2025 Apache Software Foundation. All rights reserved.