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.getLeaves(Collection<String> locs)
          Return all the data nodes that belong to the subtrees of locs
 DatanodeDescriptor[] NetworkTopology.getLeaves(String loc)
          Return all the data nodes that belong to the subtree of loc
 

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
 



Copyright © 2006 The Apache Software Foundation