Interface ClusterConnector

All Known Implementing Classes:
JsonNodeConnector

public interface ClusterConnector
ClusterConnector interface hides all specifics about how we communicate to the HDFS cluster. This interface returns data in classes that diskbalancer understands.
  • Method Details

    • getNodes

      List<DiskBalancerDataNode> getNodes() throws Exception
      getNodes function returns a list of DiskBalancerDataNodes.
      Returns:
      Array of DiskBalancerDataNodes
      Throws:
      Exception
    • getConnectorInfo

      String getConnectorInfo()
      Returns info about the connector.
      Returns:
      String.