Git Product home page Git Product logo

Comments (5)

frankliee avatar frankliee commented on April 28, 2024

Each partition has replica number of "instances" located on replica number of servers, respectively.
Because the writer works in an asynchronous manner, at each time, "a group of instances" that assigned to a server are issued together.
Therefore, the report should be to send to at least replicaWrite number of servers, which means each server has received this group of instances.

from firestorm.

sfwang218 avatar sfwang218 commented on April 28, 2024

Each partition has replica number of "instances" located on replica number of servers, respectively. Because the writer works in an asynchronous manner, at each time, "a group of instances" that assigned to a server are issued together. Therefore, the report should be to send to at least replicaWrite number of servers, which means each server has received this group of instances.

举个例子吧,比如说某个 shuffle 操作分配了 5个 shuffle server,然后 spark.rss.data.replica 和 spark.rss.data.replica.write 设置的都是2,那就是说 对于每一个 partition,必须2个副本都report 成功了才算成功是吧,
那也就是说 5个 shuffle server 都必须 report 成功 才行。
但是按照上面的判断逻辑,只要超过2个 shuffle server report 成功的话,就不会抛异常。
不知道我理解的对不对,还请指正,多谢啦!

from firestorm.

frankliee avatar frankliee commented on April 28, 2024

Thanks for your issue, there is a PR to fix this.
You could review #107

from firestorm.

sfwang218 avatar sfwang218 commented on April 28, 2024

Thanks for your issue, there is a PR to fix this. You could review #107

OK, Thanks

from firestorm.

jerqi avatar jerqi commented on April 28, 2024

Resovled by #107

from firestorm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.