Package org.apache.mesos.Protos

Examples of org.apache.mesos.Protos.FrameworkInfo


    // Start the framework.
    new Thread(new Runnable() {
      @Override
      public void run() {
        // Have Mesos fill in the current user.
        FrameworkInfo framework = FrameworkInfo.newBuilder().setUser("")
            .setName("Jenkins Framework").build();

        driver = new MesosSchedulerDriver(JenkinsScheduler.this, framework, mesosMaster);

        if (driver.run() != Status.DRIVER_STOPPED) {
View Full Code Here


    jobTracker = (JobTracker) super.taskTrackerManager;

    String master = conf.get("mapred.mesos.master", "local");

    try {
      FrameworkInfo frameworkInfo = FrameworkInfo
          .newBuilder()
          .setUser("")
          .setName("Hadoop: (RPC port: " + jobTracker.port + ","
                   + " WebUI port: " + jobTracker.infoPort + ")").build();
View Full Code Here

    jobTracker = (JobTracker) super.taskTrackerManager;

    String master = conf.get("mapred.mesos.master", "local");

    try {
      FrameworkInfo frameworkInfo = FrameworkInfo
          .newBuilder()
          .setUser("")
          .setName("Hadoop: (RPC port: " + jobTracker.port + ","
                   + " WebUI port: " + jobTracker.infoPort + ")").build();
View Full Code Here

  // TODO(wfarner): Figure out a way to change this without risk of fallout (MESOS-703).
  private static final String TWITTER_FRAMEWORK_NAME = "TwitterScheduler";

  @Override
  protected void configure() {
    FrameworkInfo frameworkInfo = FrameworkInfo.newBuilder()
        .setUser(EXECUTOR_USER.get())
        .setName(TWITTER_FRAMEWORK_NAME)
        .setCheckpoint(REQUIRE_SLAVE_CHECKPOINT.get())
        .setFailoverTimeout(FRAMEWORK_FAILOVER_TIMEOUT.get().as(Time.SECONDS))
        .build();
View Full Code Here

TOP

Related Classes of org.apache.mesos.Protos.FrameworkInfo

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.