hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/node/TestNodeManager.java
private List<DatanodeDetails> createNodeSet(SCMNodeManager nodeManager, int
      count) {
    List<DatanodeDetails> list = new LinkedList<>();
    for (int x = 0; x < count; x++) {
      list.add(TestUtils.getDatanodeDetails(nodeManager, UUID.randomUUID()
          .toString()));
    }
    return list;
  }
/**
   * Create a set of Nodes with a given prefix.
   *
   * @param count  - number of nodes.
   * @return List of Nodes.
   */
Create a set of Nodes with a given prefix.
@param count  - number of nodes.
@return List of Nodes.
Create a set of Nodes with a given prefix . @param count - number of nodes . @return List of Nodes .
private List<DatanodeDetails> createNodeSet(SCMNodeManager nodeManager, int
      count) {
    List<DatanodeDetails> list = new LinkedList<>();
    for (int x = 0; x < count; x++) {
      list.add(TestUtils.getDatanodeDetails(nodeManager, UUID.randomUUID()
          .toString()));
    }
    return list;
  }
private List < DatanodeDetails > createNodeSet ( SCMNodeManager nodeManager , int count ) { List < DatanodeDetails > list = new LinkedList < > ( ) ; for ( int x = 0 ; x < count ; x ++ ) { list . add ( TestUtils . getDatanodeDetails ( nodeManager , UUID . randomUUID ( ) . toString ( ) ) ) ; } return list ; }
Create a set of Nodes with a given prefix.
Create a set of Nodes with a given prefix .