public class DatanodeAdminDefaultMonitor extends DatanodeAdminMonitorBase implements DatanodeAdminMonitorInterface
Since this is done while holding the namesystem lock, the amount of work per monitor tick is limited.
blockManager, conf, dnAdmin, maxConcurrentTrackedNodes, namesystem
Modifier and Type | Method and Description |
---|---|
int |
getNumNodesChecked() |
int |
getTrackedNodeCount() |
protected void |
processConf()
Abstract method which must be implemented by the sub-classes to process
set various instance variables from the Configuration passed at object
creation time.
|
void |
run() |
void |
stopTrackingNode(org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor dn) |
getCancelledNodes, getConf, getPendingNodeCount, getPendingNodes, setBlockManager, setConf, setDatanodeAdminManager, setNameSystem, startTrackingNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCancelledNodes, getPendingNodeCount, getPendingNodes, setBlockManager, setDatanodeAdminManager, setNameSystem, startTrackingNode
protected void processConf()
DatanodeAdminMonitorBase
processConf
in class DatanodeAdminMonitorBase
public void stopTrackingNode(org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor dn)
stopTrackingNode
in interface DatanodeAdminMonitorInterface
public int getTrackedNodeCount()
getTrackedNodeCount
in interface DatanodeAdminMonitorInterface
public int getNumNodesChecked()
getNumNodesChecked
in interface DatanodeAdminMonitorInterface
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.