Skip to content

[PlacementGroup]Add PlacementGroup wait java api - #12499

Merged
raulchen merged 19 commits into
ray-project:masterfrom
antgroup:add_wait_pg_api
Dec 5, 2020
Merged

raulchen merged 19 commits into
ray-project:masterfrom
antgroup:add_wait_pg_api

Conversation

@ffbin

@ffbin ffbin commented Nov 30, 2020 •

Copy link
Copy Markdown
Contributor

Why are these changes needed?

Add placement group wait java api:

 boolean wait(int timeoutMs)

Simplify the process of judging whether PG is created successfully, and the logic is implemented in c++ layer, which can unify the API of Java and python.

Related issue number

#12617

Checks

@ffbin ffbin changed the title [WIP][PlacementGroup]Add WaitPlacementGroupReady java api [PlacementGroup]Add WaitPlacementGroupReady java api Nov 30, 2020
@ffbin
ffbin requested a review from clay4megtr November 30, 2020 16:06

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good catch 👍

@ffbin ffbin changed the title [PlacementGroup]Add WaitPlacementGroupReady java api [PlacementGroup]Add PlacementGroup wait java api Dec 2, 2020

@rkooo567 rkooo567 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, but there's newline issue. Please fix it and lmk!

Comment thread src/ray/protobuf/gcs_service.proto Resolved
@rkooo567

rkooo567 commented Dec 4, 2020

Copy link
Copy Markdown
Contributor

Also @ffbin Can you create an issue with milestone to implement the python API?

@ffbin

ffbin commented Dec 4, 2020

Copy link
Copy Markdown
Contributor Author

Also @ffbin Can you create an issue with milestone to implement the python API?

I have create an issue, thanks.

@ffbin

ffbin commented Dec 4, 2020

Copy link
Copy Markdown
Contributor Author

LGTM, but there's newline issue. Please fix it and lmk!
hi @rkooo567 , i have fix it and pls help take a look, thanks.

@ffbin
ffbin requested a review from rkooo567 December 4, 2020 13:26
@ffbin
ffbin dismissed rkooo567’s stale review December 5, 2020 08:27

We will merge this PR first. If you have comments, we can implement it in the next PR(python API), thanks.

@raulchen
raulchen merged commit 260b07c into ray-project:master Dec 5, 2020
@raulchen
raulchen deleted the add_wait_pg_api branch December 5, 2020 08:40
@fishbone fishbone mentioned this pull request Dec 7, 2020
2 of 6 tasks
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.

4 participants