Comments (4)
It turns out its python :O
Need multithreading
http://stackoverflow.com/questions/5784389/using-100-of-all-cores-with-python-multiprocessing
from cosr-back.
Spark should be able to run multiple processes on the same machine, there must be an issue in the configuration
from cosr-back.
@IvRRimum are you indexing multiple Common Crawl files?
spark-submit jobs/spark/index.py --source commoncrawl:limit=1
will only use 1 core because it will generate only 1 Spark task.
However I can confirm that with the local Docker image, spark-submit jobs/spark/index.py --source commoncrawl:limit=4
does use more than 1 core at once.
If you AWS deployment is only using 1 core, I'd be curious to know more about the Spark config you're using. I'm planning on testing https://github.com/nchammas/flintrock and possibly integrate it into cosr-ops
to make deployment easy for everyone.
from cosr-back.
Closing this until further confirmation, feel free to reopen if necessary.
from cosr-back.
Related Issues (20)
- Structure of ES clusters HOT 9
- Questions on deployment HOT 1
- Errors During Installation HOT 3
- Speed up Travis builds HOT 1
- Improve host-level PageRanks HOT 1
- Investigate MyHTML parser
- Add GDELT document source
- Add a Github document source HOT 2
- Add a Reddit data source
- Add Stack Overflow document source HOT 1
- Add new Malware/Phishing Blacklists HOT 1
- Advertising Lists HOT 2
- Add Makefile commands to save/load elasticsearch snapshots
- PageRank & other jobs: check if output directory already exists
- Integrate the new Common Crawl News dataset HOT 1
- Add docker-compose for the local tests
- Deduplicate URLs in backlinks plugin results
- Investigate annotating all the code with mypy
- Getting error running 'make virtualenv' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosr-back.