Package mesos

Examples of mesos.FrameworkMessage


    if (ttInfo != null) {
      HadoopFrameworkMessage message = new HadoopFrameworkMessage(
          HadoopFrameworkMessage.Type.S2E_SEND_STATUS_UPDATE, state.toString());
      try {
        LOG.info("Asking slave " + ttInfo.mesosSlaveId + " to update status");
        driver.sendFrameworkMessage(new FrameworkMessage(
            ttInfo.mesosSlaveId, nt.mesosId, message.serialize()));
      } catch (IOException e) {
        // This exception would only get thrown if we couldn't serialize the
        // HadoopFrameworkMessage, which is a serious problem; crash the JT
        LOG.fatal("Failed to serialize HadoopFrameworkMessage", e);
View Full Code Here

TOP

Related Classes of mesos.FrameworkMessage

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.