Class NodeAllocationPlan

    • Method Detail

      • getJobMasterNodeId

        public String getJobMasterNodeId()
        Returns the physical node id of the job master. This will return null in the pseudo-distributed case.
        Returns:
        the physical node id of the job master
      • getNodeMapping

        public NodeInformationMapping getNodeMapping()
        Returns the node information for all the nodes referenced by this plan.
        Returns:
        the node information.
      • getJobMasterResources

        public ResourceAllocation getJobMasterResources()
        Gets the allocated resources for the job master.
        Returns:
        the resources alloted to the job master
      • getPerPartitionResources

        public ResourceAllocation getPerPartitionResources()
        Gets the allocated allocated resources for each partition.
        Returns:
        the resources allotted per partition
      • subPlan

        public NodeAllocationPlan subPlan​(int maxParallelism)
        Returns the effective NodeAllocationPlan, given the specified value of max parallelism.
        Parameters:
        maxParallelism - the maximum parallelism
        Returns:
        the effective NodeAllocationPlan