Package eu.stratosphere.nephele.jobgraph

Examples of eu.stratosphere.nephele.jobgraph.JobID


    // Check which of the registered jobs are assigned to that instance
    synchronized (this.registeredJobs) {

      Iterator<JobID> it = this.registeredJobs.keySet().iterator();
      while (it.hasNext()) {
        final JobID jobID = it.next();
        final JobProfilingData jobProfilingData = this.registeredJobs.get(jobID);
        if (!jobProfilingData.instanceAllocatedByJob(profilingData)) {
          continue;
        }
View Full Code Here


  private int profilingInternval;

  private int channelCapacityExhaustedCounter;

  public InternalOutputGateProfilingData() {
    this.jobId = new JobID();
    this.executionVertexID = new ExecutionVertexID();
    this.gateIndex = 0;
    this.profilingInternval = 0;
    this.channelCapacityExhaustedCounter = 0;
  }
View Full Code Here

  private int profilingInternval;

  private int noRecordsAvailableCounter;

  public InternalInputGateProfilingData() {
    this.jobId = new JobID();
    this.executionVertexID = new ExecutionVertexID();
    this.gateIndex = 0;
    this.profilingInternval = 0;
    this.noRecordsAvailableCounter = 0;
  }
View Full Code Here

    final Iterator<Map.Entry<JobID, PendingRequestsMap>> it = this.pendingRequestsOfJob.entrySet().iterator();
    while (it.hasNext()) {

      final List<AllocatedResource> allocatedResources = new ArrayList<AllocatedResource>();
      final Map.Entry<JobID, PendingRequestsMap> entry = it.next();
      final JobID jobID = entry.getKey();
      final PendingRequestsMap pendingRequestsMap = entry.getValue();
      final Iterator<Map.Entry<InstanceType, Integer>> it2 = pendingRequestsMap.iterator();
      while (it2.hasNext()) {

        final Map.Entry<InstanceType, Integer> entry2 = it2.next();
View Full Code Here

  private void cleanup(JobID jobId) {
    if (!lru.contains(jobId)) {
      lru.addFirst(jobId);
    }
    if (lru.size() > this.maxEntries) {
      JobID toRemove = lru.removeLast();
      this.jobAccumulators.remove(toRemove);
    }
  }
View Full Code Here

     */
    @Override
    public void jobStatusHasChanged(final ExecutionGraph executionGraph, final InternalJobStatus newJobStatus,
        final String optionalMessage) {

      final JobID jobID = executionGraph.getJobID();

      if (newJobStatus == InternalJobStatus.SCHEDULED) {

        final ManagementGraph managementGraph = ManagementGraphFactory.fromExecutionGraph(executionGraph);
        this.eventCollector.addManagementGraph(jobID, managementGraph);
View Full Code Here

    synchronized (this.collectedEvents) {

      final Iterator<JobID> it = this.collectedEvents.keySet().iterator();
      while (it.hasNext()) {

        final JobID jobID = it.next();
        final List<AbstractEvent> eventList = this.collectedEvents.get(jobID);
        if (eventList == null) {
          continue;
        }
View Full Code Here

  private final ExecutionVertexID executionVertexID;

  private final JobID jobId;

  public InternalExecutionVertexProfilingData() {
    this.jobId = new JobID();
    this.executionVertexID = new ExecutionVertexID();
  }
View Full Code Here

    }

    final ExecutionGroupVertex groupVertex = vertex.getGroupVertex();
    final InputSplitAssigner inputSplitAssigner = this.assignerCache.get(groupVertex);
    if (inputSplitAssigner == null) {
      final JobID jobID = groupVertex.getExecutionStage().getExecutionGraph().getJobID();
      LOG.error("Cannot find input assigner for group vertex " + groupVertex.getName() + " (job " + jobID + ")");
      return null;
    }

    nextInputSplit = inputSplitAssigner.getNextInputSplit(vertex);
View Full Code Here

  /**
   * Default constructor for serialization/deserialization.
   */
  public InputSplitWrapper() {
    this.jobID = new JobID();
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.nephele.jobgraph.JobID

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.