Skip to content

[Placement Group] Move PlacementGroup public method to interface.#13629

Merged
kfstorm merged 38 commits intoray-project:masterfrom
antgroup:placement_group_interface_abstract
Jan 25, 2021
Merged

[Placement Group] Move PlacementGroup public method to interface.#13629
kfstorm merged 38 commits intoray-project:masterfrom
antgroup:placement_group_interface_abstract

Conversation

@clay4megtr
Copy link
Copy Markdown
Contributor

Why are these changes needed?

Now, PlacementGroup is a empty interface in java api, user need to cast it to PlacementGroupImpl if user want to invoke wait method, we should put these method to interface level.

Related issue number

#13627

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@clay4megtr clay4megtr requested review from ffbin and kfstorm January 22, 2021 08:20
Copy link
Copy Markdown
Member

@kfstorm kfstorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall.

Copy link
Copy Markdown
Member

@chaokunyang chaokunyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kfstorm kfstorm merged commit db2c836 into ray-project:master Jan 25, 2021
@kfstorm kfstorm deleted the placement_group_interface_abstract branch January 25, 2021 12:14
fishbone added a commit to fishbone/ray that referenced this pull request Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants