hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/StorageContainerManager.java
@Override
  public StorageContainerDatanodeProtocolProtos.SCMRegisteredCmdResponseProto
      register(DatanodeDetailsProto datanodeDetails, String[] scmAddresses) {
    // TODO : Return the list of Nodes that forms the SCM HA.
    return getRegisteredResponse(
        scmNodeManager.register(datanodeDetails), null);
  }
/**
   * Register Datanode.
   *
   * @param datanodeDetails - DatanodID.
   * @param scmAddresses - List of SCMs this datanode is configured to
   * communicate.
   * @return SCM Command.
   */
Register Datanode.
@param datanodeDetails - DatanodID.
@param scmAddresses - List of SCMs this datanode is configured to
communicate.
@return SCM Command.
Register Datanode . @param datanodeDetails - DatanodID . @param scmAddresses - List of SCMs this datanode is configured to communicate . @return SCM Command .
@Override
  public StorageContainerDatanodeProtocolProtos.SCMRegisteredCmdResponseProto
      register(DatanodeDetailsProto datanodeDetails, String[] scmAddresses) {
    return getRegisteredResponse(
        scmNodeManager.register(datanodeDetails), null);
  }
@ Override public StorageContainerDatanodeProtocolProtos . SCMRegisteredCmdResponseProto register ( DatanodeDetailsProto datanodeDetails , String [ ] scmAddresses ) { return getRegisteredResponse ( scmNodeManager . register ( datanodeDetails ) , null ) ; }
Register Datanode.
Register Datanode .
// TODO : Return the list of Nodes that forms the SCM HA.