hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/client/ContainerOperationClient.java
@Override
  public HddsProtos.NodePool queryNode(EnumSet<HddsProtos.NodeState>
      nodeStatuses, HddsProtos.QueryScope queryScope, String poolName)
      throws IOException {
    return storageContainerLocationClient.queryNode(nodeStatuses, queryScope,
        poolName);
  }
/**
   * Returns a set of Nodes that meet a query criteria.
   *
   * @param nodeStatuses - A set of criteria that we want the node to have.
   * @param queryScope - Query scope - Cluster or pool.
   * @param poolName - if it is pool, a pool name is required.
   * @return A set of nodes that meet the requested criteria.
   * @throws IOException
   */
Returns a set of Nodes that meet a query criteria.
@param nodeStatuses - A set of criteria that we want the node to have.
@param queryScope - Query scope - Cluster or pool.
@param poolName - if it is pool, a pool name is required.
@return A set of nodes that meet the requested criteria.
Returns a set of Nodes that meet a query criteria . @param nodeStatuses - A set of criteria that we want the node to have . @param queryScope - Query scope - Cluster or pool . @param poolName - if it is pool a pool name is required . @return A set of nodes that meet the requested criteria .
@Override
  public HddsProtos.NodePool queryNode(EnumSet<HddsProtos.NodeState>
      nodeStatuses, HddsProtos.QueryScope queryScope, String poolName)
      throws IOException {
    return storageContainerLocationClient.queryNode(nodeStatuses, queryScope,
        poolName);
  }
@ Override public HddsProtos . NodePool queryNode ( EnumSet < HddsProtos . NodeState > nodeStatuses , HddsProtos . QueryScope queryScope , String poolName ) throws IOException { return storageContainerLocationClient . queryNode ( nodeStatuses , queryScope , poolName ) ; }
Returns a set of Nodes that meet a query criteria.
Returns a set of Nodes that meet a query criteria .