You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "yl09099 (via GitHub)" <gi...@apache.org> on 2023/08/10 04:37:56 UTC
[GitHub] [incubator-uniffle] yl09099 opened a new pull request, #1129: [#825] feat:Dynamic shuffle server assignment.
yl09099 opened a new pull request, #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129
### What changes were proposed in this pull request?
1. During the shuffle write phase, the ShuffleServer reports faulty nodes and reallocates the ShuffleServer list;
2. Triggers a Stage level retry of SPARK. The shuffleServer node is excluded and reallocated before the retry.
### Why are the changes needed?
Add fault tolerance to the shuffle write phase
Fix: #825
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Existing UT as well as adding an integration test:RSSStageDynamicServerReWriteTest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] zuston commented on pull request #1129: [#825] feat:Dynamic shuffle server assignment.
Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston commented on PR #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129#issuecomment-1672578806
Thanks for your work! This is a good progress for improving the stability of uniffle for apps.
> During the shuffle write phase, the ShuffleServer reports faulty nodes and reallocates the ShuffleServer list;
Not only the node failure, I hope the partition could be cached into different shuffle server if the disk is not enough or partition is huge. This has been introduce in celeborn called hard-split.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] yl09099 commented on pull request #1129: [#825] feat(spark): Dynamic shuffle server assignment.
Posted by "yl09099 (via GitHub)" <gi...@apache.org>.
yl09099 commented on PR #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129#issuecomment-1674138669
> Thanks for your work! This is a good progress for improving the stability of uniffle for apps.
>
> > During the shuffle write phase, the ShuffleServer reports faulty nodes and reallocates the ShuffleServer list;
>
> Not only the node failure, I hope the partition could be cached into different shuffle server if the disk is not enough or partition is huge. This has been introduce in celeborn called hard-split.
Later you are asking the demand, I first put this version of the implementation.I don't have the confidence to make it bigger.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] advancedxy commented on pull request #1129: [#825] feat(spark): Dynamic shuffle server assignment.
Posted by "advancedxy (via GitHub)" <gi...@apache.org>.
advancedxy commented on PR #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129#issuecomment-1674433242
> > @yl09099 thanks for your work. This PR is large enough to split into multiple parts:
> >
> > 1. the proto and the corresponding rpc client and service part.
> > 2. the coordinator part
> > 3. Spark part, you may divided it into reader and writers parts.
> > 4. The unified client part that shares shuffle assignment info across tasks, current approach would retrieve shuffle assignment per task, that may put a lot pressure to the driver.
> >
> > Before dividing it into multiple parts, would you mind to write a design doc for this pr. If not, a control & data flow diagram about how dynamic shuffle server assignment are generated, transferred, when triggered would be needed. So we can discus a bit more and determines current approach is the good design choice or not.
> > I did a quick overview of this PR, I didn't notice extra data check for this new procedure. Maybe I'm a bit of overlooking, but like I noted in the #825, we may need to revise the data check to protect data integrity.
>
> ok,I'll break it up as you want.
thanks. You might left this pr as it is for reference and submit new small prs as needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] yl09099 commented on pull request #1129: [#825] feat(spark): Dynamic shuffle server assignment.
Posted by "yl09099 (via GitHub)" <gi...@apache.org>.
yl09099 commented on PR #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129#issuecomment-1674363963
> @yl09099 thanks for your work. This PR is large enough to split into multiple parts:
>
> 1. the proto and the corresponding rpc client and service part.
> 2. the coordinator part
> 3. Spark part, you may divided it into reader and writers parts.
> 4. The unified client part that shares shuffle assignment info across tasks, current approach would retrieve shuffle assignment per task, that may put a lot pressure to the driver.
>
> Before dividing it into multiple parts, would you mind to write a design doc for this pr. If not, a control & data flow diagram about how dynamic shuffle server assignment are generated, transferred, when triggered would be needed. So we can discus a bit more and determines current approach is the good design choice or not.
>
> I did a quick overview of this PR, I didn't notice extra data check for this new procedure. Maybe I'm a bit of overlooking, but like I noted in the #825, we may need to revise the data check to protect data integrity.
ok,I'll break it up as you want.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] jerqi commented on pull request #1129: [#825] feat(spark): Dynamic shuffle server assignment.
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129#issuecomment-1672608571
> Thanks for your work! This is a good progress for improving the stability of uniffle for apps.
>
> > During the shuffle write phase, the ShuffleServer reports faulty nodes and reallocates the ShuffleServer list;
>
> Not only the node failure, I hope the partition could be cached into different shuffle server if the disk is not enough or partition is huge. This has been introduce in celeborn called hard-split.
That's another pr. Don't include more too many functionities in one pr. This pr is large enough, we would better split this pr.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] zuston commented on pull request #1129: [#825] feat(spark): Dynamic shuffle server assignment.
Posted by "zuston (via GitHub)" <gi...@apache.org>.
zuston commented on PR #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129#issuecomment-1672682714
> > Thanks for your work! This is a good progress for improving the stability of uniffle for apps.
> > > During the shuffle write phase, the ShuffleServer reports faulty nodes and reallocates the ShuffleServer list;
> >
> >
> > Not only the node failure, I hope the partition could be cached into different shuffle server if the disk is not enough or partition is huge. This has been introduce in celeborn called hard-split.
>
> That's another pr. We shouldn't include more too many functionities in one pr. This pr is large enough, we would better split this pr into some small prs.
Agree. But I hope the design should be good enough to implement above ability.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
Re: [PR] [#825] feat(spark): Dynamic shuffle server assignment. [incubator-uniffle]
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi closed pull request #1129: [#825] feat(spark): Dynamic shuffle server assignment.
URL: https://github.com/apache/incubator-uniffle/pull/1129
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] yl09099 commented on pull request #1129: [#825] feat(spark): Dynamic shuffle server assignment.
Posted by "yl09099 (via GitHub)" <gi...@apache.org>.
yl09099 commented on PR #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129#issuecomment-1674138025
> > Thanks for your work! This is a good progress for improving the stability of uniffle for apps.
> > > During the shuffle write phase, the ShuffleServer reports faulty nodes and reallocates the ShuffleServer list;
> >
> >
> > Not only the node failure, I hope the partition could be cached into different shuffle server if the disk is not enough or partition is huge. This has been introduce in celeborn called hard-split.
>
> That's another pr. We shouldn't include more too many functionities in one pr. This pr is large enough, we would better split this pr into some small prs.
I'll take the PR apart while you review it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] advancedxy commented on pull request #1129: [#825] feat(spark): Dynamic shuffle server assignment.
Posted by "advancedxy (via GitHub)" <gi...@apache.org>.
advancedxy commented on PR #1129:
URL: https://github.com/apache/incubator-uniffle/pull/1129#issuecomment-1674152975
@yl09099 thanks for your work. This PR is large enough to split into multiple parts:
1. the proto and the corresponding rpc client and service part.
2. the coordinator part
3. Spark part, you may divided it into reader and writers parts.
4. The unified client part that shares shuffle assignment info across tasks, current approach would retrieve shuffle assignment per task, that may put a lot pressure to the driver.
Before dividing it into multiple parts, would you mind to write a design doc for this pr. If not, a control & data flow diagram about how dynamic shuffle server assignment are generated, transferred, when triggered would be needed. So we can discus a bit more and determines current approach is the good design choice or not.
I did a quick overview of this PR, I didn't we add extra data check for this new procedure. Maybe I'm a bit of overlooking, but like I noted in the #825, we may need to revise the data check to protect data integrity.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org