Skip to content

Commit

Permalink
[runtime] Remove redundant JobType property from JobGraph.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanEwen committed Apr 29, 2015
1 parent 4cb5b72 commit 0fceb11
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ public class JobGraph implements Serializable {

private ScheduleMode scheduleMode = ScheduleMode.FROM_SOURCES;

public enum JobType {STREAMING, BATCH}

private JobType jobType = JobType.BATCH;

private boolean checkpointingEnabled = false;

private long checkpointingInterval = 10000;
Expand Down Expand Up @@ -262,15 +258,6 @@ public int getNumberOfVertices() {
return this.taskVertices.size();
}


public void setJobType(JobType jobType) {
this.jobType = jobType;
}

public JobType getJobType() {
return jobType;
}

public void setCheckpointingEnabled(boolean checkpointingEnabled) {
this.checkpointingEnabled = checkpointingEnabled;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public JobGraph createJobGraph(String jobName) {

// Turn lazy scheduling off
jobGraph.setScheduleMode(ScheduleMode.ALL);
jobGraph.setJobType(JobGraph.JobType.STREAMING);
jobGraph.setCheckpointingEnabled(streamGraph.isCheckpointingEnabled());
jobGraph.setCheckpointingInterval(streamGraph.getCheckpointingInterval());

Expand Down

0 comments on commit 0fceb11

Please sign in to comment.