Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
Fix CI & compile error (#325)
Browse files Browse the repository at this point in the history
CI error
compiling error after mesos lib upgraded
  • Loading branch information
lenhattan86 authored Oct 6, 2021
1 parent 64e011b commit e9527c1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- master
jobs:
build:
runs-on: ubuntu-16.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ Aurora Scheduler 0.23.0
* #13 - Upgrading to Mesos 1.7.x
* #12 - Improve resume/pause update with regards to previously failed instances
* #10 - Moving out code for Thermos, Thermos Observer, and the python 2 client.
* #3 - Adding support for using an IP as a resource
* #3 - Adding support for using an IP as a resource
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.util.Collection;

import org.apache.mesos.Protos;
import org.apache.mesos.Protos.FrameworkInfo;
import org.apache.mesos.Protos.Status;
import org.apache.mesos.SchedulerDriver;

Expand Down Expand Up @@ -141,4 +142,19 @@ public Protos.Status reconcileTasks(
public Status suppressOffers() {
return null;
}

@Override
public Status reviveOffers(Collection<String> roles) {
return null;
}

@Override
public Status updateFramework(FrameworkInfo frameworkInfo, Collection<String> suppressedRoles) {
return null;
}

@Override
public Status suppressOffers(Collection<String> roles) {
return null;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.apache.mesos.Protos.ExecutorID;
import org.apache.mesos.Protos.Filters;
import org.apache.mesos.Protos.FrameworkID;
import org.apache.mesos.Protos.FrameworkInfo;
import org.apache.mesos.Protos.MasterInfo;
import org.apache.mesos.Protos.Offer;
import org.apache.mesos.Protos.OfferID;
Expand Down Expand Up @@ -301,7 +302,7 @@ public Status reconcileTasks(Collection<TaskStatus> statuses) {
}

@Override
public Status updateFramework(org.apache.mesos.Protos.FrameworkInfo frameworkInfo, Collection<String> suppressedRoles) {
public Status updateFramework(FrameworkInfo frameworkInfo, Collection<String> suppressedRoles) {
throw new UnsupportedOperationException();
}

Expand Down

0 comments on commit e9527c1

Please sign in to comment.