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() |
checkBlockReportReceived, chooseStorage4Block, clearBlockQueues, containsInvalidateBlock, decrementPendingReplicationWithoutTargets, dumpDatanode, getBalancerBandwidth, getBlocksScheduled, getBlocksScheduled, getCached, getErasureCodeCommand, getInvalidateBlocks, getLastCachingDirectiveSentTimeMs, getLeaseRecoveryCommand, getLeavingServiceStatus, getNumberOfBlocksToBeErasureCoded, getNumberOfReplicateBlocks, getPendingCached, getPendingUncached, getStorageInfo, getStorageInfos, getStorageReports, getStorageTypes, getVolumeFailures, getVolumeFailureSummary, hasStorageType, incrementPendingReplicationWithoutTargets, isAlive, isDisallowed, isHeartbeatedSinceRegistration, isRegistered, needKeyUpdate, numBlocks, resetBlocks, setAlive, setBalancerBandwidth, setDisallowed, setForceRegistration, setLastCachingDirectiveSentTimeMs, setNeedKeyUpdate, updateRegInfo
addDependentHostName, 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, stopMaintenance
compareTo, getDatanodeUuid, getDatanodeUuidBytes, getHostName, getHostNameBytes, getInfoAddr, getInfoPort, getInfoSecureAddr, getInfoSecurePort, getIpAddr, getIpAddrBytes, getIpcAddr, getIpcPort, getPeerHostName, getResolvedAddress, getXferAddr, getXferAddr, getXferAddrWithHostname, getXferPort, setIpAddr, setPeerHostName
public 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.DatanodeDescriptor
addBlockToBeReplicated
in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor
public boolean equals(Object obj)
equals
in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor
public int hashCode()
hashCode
in class org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor
public String toString()
toString
in class org.apache.hadoop.hdfs.protocol.DatanodeID
public String getNetworkLocation()
getNetworkLocation
in interface org.apache.hadoop.net.Node
getNetworkLocation
in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
public String getName()
getName
in interface org.apache.hadoop.net.Node
getName
in class org.apache.hadoop.hdfs.protocol.DatanodeInfo
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.