Uses of Class
org.apache.hadoop.dfs.DatanodeDescriptor

Packages that use DatanodeDescriptor
org.apache.hadoop.dfs A distributed implementation of FileSystem
org.apache.hadoop.net Network-related classes. 
 

Uses of DatanodeDescriptor in org.apache.hadoop.dfs
 

Method parameters in org.apache.hadoop.dfs with type arguments of type DatanodeDescriptor
 void JspHelper.DFSNodesStatus(ArrayList<DatanodeDescriptor> live, ArrayList<DatanodeDescriptor> dead)
           
 void JspHelper.DFSNodesStatus(ArrayList<DatanodeDescriptor> live, ArrayList<DatanodeDescriptor> dead)
           
 void JspHelper.sortNodeList(ArrayList<DatanodeDescriptor> nodes, String field, String order)
           
 

Uses of DatanodeDescriptor in org.apache.hadoop.net
 

Methods in org.apache.hadoop.net that return DatanodeDescriptor
 DatanodeDescriptor NetworkTopology.chooseRandom(String scope)
          randomly choose one node from scope if scope starts with ~, choose one from the all datanodes except for the ones in scope; otherwise, choose one from scope
 

Methods in org.apache.hadoop.net with parameters of type DatanodeDescriptor
 void NetworkTopology.add(DatanodeDescriptor node)
          Add a data node Update data node counter & rack counter if neccessary
 boolean NetworkTopology.contains(DatanodeDescriptor node)
          Check if the tree contains data node node
 int NetworkTopology.getDistance(DatanodeDescriptor node1, DatanodeDescriptor node2)
          Return the distance between two data nodes It is assumed that the distance from one node to its parent is 1 The distance between two nodes is calculated by summing up their distances to their closest common ancestor.
 boolean NetworkTopology.isOnSameRack(DatanodeDescriptor node1, DatanodeDescriptor node2)
          Check if two data nodes are on the same rack
 void NetworkTopology.remove(DatanodeDescriptor node)
          Remove a data node Update data node counter & rack counter if neccessary
 

Method parameters in org.apache.hadoop.net with type arguments of type DatanodeDescriptor
 int NetworkTopology.countNumOfAvailableNodes(String scope, List<DatanodeDescriptor> excludedNodes)
          return the number of leaves in scope but not in excludedNodes if scope starts with ~, return the number of datanodes that are not in scope and excludedNodes;
 



Copyright © 2006 The Apache Software Foundation