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, pendingNodes| 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) |
getConf, getPendingNodeCount, getPendingNodes, setBlockManager, setConf, setDatanodeAdminManager, setNameSystem, startTrackingNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPendingNodeCount, getPendingNodes, setBlockManager, setDatanodeAdminManager, setNameSystem, startTrackingNodeprotected void processConf()
DatanodeAdminMonitorBaseprocessConf in class DatanodeAdminMonitorBasepublic void stopTrackingNode(org.apache.hadoop.hdfs.server.blockmanagement.DatanodeDescriptor dn)
stopTrackingNode in interface DatanodeAdminMonitorInterfacepublic int getTrackedNodeCount()
getTrackedNodeCount in interface DatanodeAdminMonitorInterfacepublic int getNumNodesChecked()
getNumNodesChecked in interface DatanodeAdminMonitorInterfaceCopyright © 2008–2022 Apache Software Foundation. All rights reserved.