Package edu.berkeley.sparrow.thrift

Examples of edu.berkeley.sparrow.thrift.TSchedulingRequest$TSchedulingRequestStandardSchemeFactory


    String unconstrainedTaskId = "unconstrained test task";
    tasks.add(new TTaskSpec(unconstrainedTaskId, null, message));

    TUserGroupInfo user = new TUserGroupInfo(USER, GROUP, PRIORITY);
    TSchedulingRequest schedulingRequest = new TSchedulingRequest(APP_ID, tasks, user);

    // Create list of available backend nodes, with some additional nodes in additional to the
    // preferred ones.
    List<InetSocketAddress> backendNodes = new ArrayList<InetSocketAddress>(preferredNodes);
    backendNodes.add(new InetSocketAddress("1.2.3.4", 345));
View Full Code Here


  }

  public boolean submitJob(String app,
      List<edu.berkeley.sparrow.thrift.TTaskSpec> tasks, TUserGroupInfo user)
          throws TException {
    return submitRequest(new TSchedulingRequest(app, tasks, user));
  }
View Full Code Here

    return submitRequest(new TSchedulingRequest(app, tasks, user));
  }

  public boolean submitJob(String app, List<edu.berkeley.sparrow.thrift.TTaskSpec> tasks,
      TUserGroupInfo user, String description) {
    TSchedulingRequest request = new TSchedulingRequest(app, tasks, user);
    request.setDescription(description);
    return submitRequest(request);
  }
View Full Code Here

  public boolean submitJob(String app,
      List<edu.berkeley.sparrow.thrift.TTaskSpec> tasks, TUserGroupInfo user,
      double probeRatio)
          throws TException {
    TSchedulingRequest request = new TSchedulingRequest(app, tasks, user);
    request.setProbeRatio(probeRatio);
    return submitRequest(request);
  }
View Full Code Here

TOP

Related Classes of edu.berkeley.sparrow.thrift.TSchedulingRequest$TSchedulingRequestStandardSchemeFactory

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.