Package org.apache.hadoop.corona

Examples of org.apache.hadoop.corona.SessionPriority


    if (!this.jobId.equals(jobId)) {
      throw new IOException("JobId " + jobId +
        " does not match the expected id of: " + this.jobId);
    }

    SessionPriority newPrio = SessionPriority.valueOf(priority);
    sessionDriver.setPriority(newPrio);
    job.setPriority(newPrio);
  }
View Full Code Here


  @Override
  public void setJobPriority(JobID jobId, String priority) throws IOException {
    checkJobId(jobId);

    SessionPriority newPrio = SessionPriority.valueOf(priority);
    sessionDriver.setPriority(newPrio);
    job.setPriority(newPrio);
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.corona.SessionPriority

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.