Giter VIP home page Giter VIP logo

Comments (18)

jerqi avatar jerqi commented on April 28, 2024

spark.rss.storage.type is client's configuration.rss.storage.type is server's configuration.

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

Both parameters affect the storage mode of ShuffleServer? Then,which one has a higher priority?

from firestorm.

jerqi avatar jerqi commented on April 28, 2024

Both parameters affect the storage mode of ShuffleServer? Then,which one has a higher priority?

Only rss.storage.type affects.

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

What is spark.rss.storage.type used for?

from firestorm.

jerqi avatar jerqi commented on April 28, 2024

What is spark.rss.storage.type used for?

client

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

Does the client also can store data to a local disk or HDFS?

from firestorm.

jerqi avatar jerqi commented on April 28, 2024

Does the client also can store data to a local disk or HDFS?

Client need to know where to read data.

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

So these two parameters need be set to the same?

from firestorm.

jerqi avatar jerqi commented on April 28, 2024

So these two parameters need be set to the same?

Yes

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

ok,thanks

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

I have a problem,when I set storageType = HDFS, Error: Blocks read Inconsistent: Expected 61 Blocks, actual 0 Blocks
The version I'm using is 0.2.0

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

The configuration items are as follows
rss.rpc.server.port 19969
rss.jetty.http.port 19968
rss.storage.basePath /rss-0.2.0/shuffle-data1,/rss-0.2.0/shuffle-data2
rss.storage.type HDFS
rss.coordinator.quorum xxx:19999,xxx:19999,xxx:19999
rss.server.buffer.capacity 4gb
rss.server.buffer.spill.threshold 2gb
rss.server.partition.buffer.size 15mb
rss.server.read.buffer.capacity 2gb
rss.server.flush.thread.alive 5
rss.server.flush.threadPool.size 10
rss.server.health.check.enable false

#multistorage config
rss.server.multistorage.enable true
rss.server.uploader.enable true
rss.server.uploader.base.path hdfs:/firestorm/shuffle-data
rss.server.uploader.thread.number 3
rss.server.disk.capacity 5115506975

Spark client
spark.shuffle.manager org.apache.spark.shuffle.RssShuffleManager
spark.rss.coordinator.quorum xxx:19999,xxx:19999,xxx:19999
spark.rss.storage.type HDFS

from firestorm.

jerqi avatar jerqi commented on April 28, 2024

We don't recommend the storageType HDFS, you would better to use MEMORY_LOCALE.

from firestorm.

jerqi avatar jerqi commented on April 28, 2024

Storage HDFS will be removed soon.

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

Is there some problems with HDFS storage mode, so you want to remove it?

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

In terms of the results of my tests, only when I set storage type = LOCALFILE_HDFS that the shuffle data will be written to HDFS.
But I also find, in this case,if I delete local data, the same exception 'Blocks read Inconsistent' is reported, so i want to figure out if the function of reading shuffle data from HDFS is not sound enough so far.
Thanks for your time!

from firestorm.

jerqi avatar jerqi commented on April 28, 2024

Is there some problems with HDFS storage mode, so you want to remove it?

HDFS mode have poor performance. HDFS can work correctly.

from firestorm.

xunxunmimi5577 avatar xunxunmimi5577 commented on April 28, 2024

Is there some problems with HDFS storage mode, so you want to remove it?

HDFS mode have poor performance. HDFS can work correctly.

Yes, you're right. I've got some configurations set incorrectly.

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.