Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETL does not parallelize tasks #26

Open
marfago opened this issue Dec 7, 2016 · 2 comments
Open

ETL does not parallelize tasks #26

marfago opened this issue Dec 7, 2016 · 2 comments

Comments

@marfago
Copy link

marfago commented Dec 7, 2016

Hi,

I'm not sure this is a problem with geotrellis or spark or my configuration.
Starting from geodocker-cluster and with some upgrade of the actual chattademo project (basically a porting to scalal 2.11) I was able to run the chatta demo.
What I noticed is that, even using multiple spark workers, all the tasks are always executed sequentially and not in parallel. Is there any parameters to tune up to increase parallelism?

@pomadchin
Copy link
Member

pomadchin commented Dec 7, 2016

Hi @marfago, interesting, how can it be executed sequentially across executors? o: Can you attach your spark-submit command and screenshot of spark web ui with jobs, executors and tasks? Btw, we can discuss it in our gitter channel :)

@marfago
Copy link
Author

marfago commented Dec 7, 2016

hi @pomadchin , find attached the PNGs.

Let me elaborate a little bit.
I have the phisical servers, SN and FN: SN hosts spark master, spark worker, accumulo and hdfs name and data while FN hosts just a spark worker. Both node are in a docker network.
I have also slightly changed the demo in order to ingest 10 raster images and the mask.

I would expect the ETL to fully allocate all CPUs, but both servers are quite idle and, in spark UI, I can just see one task at time running on one of the servers.

Any suggestions?

ingest.txt
fn-load
sn-load
sparkexecutors
sparkjobs
sparkui

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

No branches or pull requests

2 participants