java.lang.Comparable<org.apache.hadoop.hdfs.protocol.DatanodeID>, org.apache.hadoop.net.Nodepublic static class ProvidedStorageMap.ProvidedDescriptor extends DatanodeDescriptor
DatanodeDescriptor.BlockTargetPair, DatanodeDescriptor.CachedBlocksList, DatanodeDescriptor.LeavingServiceStatus| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NAME |
|
static java.lang.String |
NETWORK_LOCATION |
EMPTY_ARRAY, LOG, storageMap| Modifier and Type | Method | Description |
|---|---|---|
void |
addBlockToBeReplicated(org.apache.hadoop.hdfs.protocol.Block block,
DatanodeStorageInfo[] targets) |
Store block replication work.
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getName() |
|
java.lang.String |
getNetworkLocation() |
|
int |
hashCode() |
|
java.lang.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 java.lang.String NETWORK_LOCATION
public static final java.lang.String NAME
public void addBlockToBeReplicated(org.apache.hadoop.hdfs.protocol.Block block,
DatanodeStorageInfo[] targets)
DatanodeDescriptoraddBlockToBeReplicated in class DatanodeDescriptorpublic boolean equals(java.lang.Object obj)
equals in class DatanodeDescriptorpublic int hashCode()
hashCode in class DatanodeDescriptorpublic java.lang.String toString()
toString in class org.apache.hadoop.hdfs.protocol.DatanodeIDpublic java.lang.String getNetworkLocation()
getNetworkLocation in interface org.apache.hadoop.net.NodegetNetworkLocation in class org.apache.hadoop.hdfs.protocol.DatanodeInfopublic java.lang.String getName()
getName in interface org.apache.hadoop.net.NodegetName in class org.apache.hadoop.hdfs.protocol.DatanodeInfoCopyright © 2008–2025 Apache Software Foundation. All rights reserved.