Package org.apache.flink.runtime.jobmanager.scheduler

Examples of org.apache.flink.runtime.jobmanager.scheduler.CoLocationConstraint


    if (scheduler == null) {
      throw new NullPointerException();
    }
   
    final SlotSharingGroup sharingGroup = vertex.getJobVertex().getSlotSharingGroup();
    final CoLocationConstraint locationConstraint = vertex.getLocationConstraint();
   
    // sanity check
    if (locationConstraint != null && sharingGroup == null) {
      throw new RuntimeException("Trying to schedule with co-location constraint but without slot sharing allowed.");
    }
View Full Code Here

TOP

Related Classes of org.apache.flink.runtime.jobmanager.scheduler.CoLocationConstraint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.