public static class ProvidedStorageMap.ProvidedDescriptor
extends org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor
DatanodeDescriptor.CachedBlocksList, DatanodeDescriptor.LeavingServiceStatus| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
NETWORK_LOCATION |
| Modifier and Type | Method and Description |
|---|---|
void |
addBlockToBeReplicated(org.apache.hadoop.hdfs.protocol.Block block,
DatanodeStorageInfo[] targets)
Store block replication work.
|
boolean |
equals(Object obj) |
String |
getName() |
String |
getNetworkLocation() |
int |
hashCode() |
String |
toString() |
addECBlockToBeReplicated, checkBlockReportReceived, chooseStorage4Block, clearBlockQueues, containsInvalidateBlock, decrementPendingReplicationWithoutTargets, dumpDatanode, getBalancerBandwidth, getBlocksScheduled, getBlocksScheduled, getCached, getErasureCodeCommand, getInvalidateBlocks, getLastCachingDirectiveSentTimeMs, getLeaseRecoveryCommand, getLeavingServiceStatus, getNumberOfBlocksToBeErasureCoded, getNumberOfECBlocksToBeReplicated, getNumberOfReplicateBlocks, getNumVolumesAvailable, getPendingCached, getPendingUncached, getStorageInfo, getStorageInfos, getStorageReports, getStorageTypes, getVolumeFailures, getVolumeFailureSummary, hasStorageType, incrementPendingReplicationWithoutTargets, isAlive, isDisallowed, isHeartbeatedSinceRegistration, isRegistered, needKeyUpdate, numBlocks, resetBlocks, setAlive, setBalancerBandwidth, setDisallowed, setForceRegistration, setLastCachingDirectiveSentTimeMs, setNeedKeyUpdate, updateRegInfoaddDependentHostName, getAdminState, getBlockPoolUsed, getBlockPoolUsedPercent, getCacheCapacity, getCacheRemaining, getCacheRemainingPercent, getCacheUsed, getCacheUsedPercent, getCapacity, getDatanodeReport, getDependentHostNames, getDfsUsed, getDfsUsedPercent, getLastBlockReportMonotonic, getLastBlockReportTime, getLastUpdate, getLastUpdateMonotonic, getLevel, getMaintenanceExpireTimeInMS, getNonDfsUsed, getNumBlocks, getParent, getRemaining, getRemainingPercent, getSoftwareVersion, getUpgradeDomain, getXceiverCount, isDecommissioned, isDecommissionInProgress, isEnteringMaintenance, isInMaintenance, isInService, isMaintenance, isStale, maintenanceExpired, maintenanceNotExpired, setAdminState, setBlockPoolUsed, setCacheCapacity, setCacheUsed, setCapacity, setDecommissioned, setDependentHostNames, setDfsUsed, setInMaintenance, setLastBlockReportMonotonic, setLastBlockReportTime, setLastUpdate, setLastUpdateMonotonic, setLevel, setMaintenanceExpireTimeInMS, setNetworkLocation, setNonDfsUsed, setNumBlocks, setParent, setRemaining, setSoftwareVersion, setUpgradeDomain, setXceiverCount, startDecommission, startMaintenance, stopDecommission, stopMaintenancecompareTo, getDatanodeUuid, getDatanodeUuidBytes, getHostName, getHostNameBytes, getInfoAddr, getInfoPort, getInfoSecureAddr, getInfoSecurePort, getIpAddr, getIpAddrBytes, getIpcAddr, getIpcPort, getPeerHostName, getResolvedAddress, getXferAddr, getXferAddr, getXferAddrWithHostname, getXferPort, setIpAddr, setPeerHostNamepublic static final String NETWORK_LOCATION
public static final String NAME
public void addBlockToBeReplicated(org.apache.hadoop.hdfs.protocol.Block block,
DatanodeStorageInfo[] targets)
org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptoraddBlockToBeReplicated in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptorpublic boolean equals(Object obj)
equals in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptorpublic int hashCode()
hashCode in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptorpublic String toString()
toString in class org.apache.hadoop.hdfs.protocol.DatanodeIDpublic String getNetworkLocation()
getNetworkLocation in interface org.apache.hadoop.net.NodegetNetworkLocation in class org.apache.hadoop.hdfs.protocol.DatanodeInfopublic String getName()
getName in interface org.apache.hadoop.net.NodegetName in class org.apache.hadoop.hdfs.protocol.DatanodeInfoCopyright © 2008–2024 Apache Software Foundation. All rights reserved.