| Package | Description |
|---|---|
| org.apache.hadoop.hdfs | |
| org.apache.hadoop.hdfs.client |
This package provides the administrative APIs for HDFS.
|
| org.apache.hadoop.hdfs.protocol |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.hadoop.hdfs.protocolPB | |
| org.apache.hadoop.hdfs.web |
| Modifier and Type | Method | Description |
|---|---|---|
ErasureCodingPolicyInfo[] |
DFSClient.getErasureCodingPolicies() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<ErasureCodingPolicyInfo> |
DistributedFileSystem.getAllErasureCodingPolicies() |
Retrieve all the erasure coding policies supported by this file system,
including enabled, disabled and removed policies, but excluding
REPLICATION policy.
|
java.util.Collection<ErasureCodingPolicyInfo> |
ViewDistributedFileSystem.getAllErasureCodingPolicies() |
Gets all erasure coding policies from all available child file systems.
|
| Modifier and Type | Method | Description |
|---|---|---|
ErasureCodingPolicyInfo[] |
HdfsAdmin.getErasureCodingPolicies() |
Get the Erasure coding policies supported.
|
| Modifier and Type | Method | Description |
|---|---|---|
ErasureCodingPolicyInfo[] |
ClientProtocol.getErasureCodingPolicies() |
Get the erasure coding policies loaded in Namenode, excluding REPLICATION
policy.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ErasureCodingPolicyInfo |
PBHelperClient.convertErasureCodingPolicyInfo(org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto proto) |
Convert the protobuf to a
ErasureCodingPolicyInfo. |
ErasureCodingPolicyInfo[] |
ClientNamenodeProtocolTranslatorPB.getErasureCodingPolicies() |
| Modifier and Type | Method | Description |
|---|---|---|
static org.apache.hadoop.hdfs.protocol.proto.HdfsProtos.ErasureCodingPolicyProto |
PBHelperClient.convertErasureCodingPolicy(ErasureCodingPolicyInfo info) |
Convert a
ErasureCodingPolicyInfo to protobuf. |
| Modifier and Type | Method | Description |
|---|---|---|
static ErasureCodingPolicyInfo |
JsonUtilClient.toECPolicyInfo(java.util.Map<?,?> m) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.Collection<ErasureCodingPolicyInfo> |
JsonUtilClient.getAllErasureCodingPolicies(java.util.Map<?,?> json) |
|
java.util.Collection<ErasureCodingPolicyInfo> |
WebHdfsFileSystem.getAllErasureCodingPolicies() |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.