What is MongoDB and why do we even need it? Firstly, MongoDB's document model makes it easy to map objects in application code to equivalent JSON representations in MongoDB. There is more to this. Spark has good integration with MongoDB. One clear advantage is being able to publish our on-time dataframe into MongoDB as a document. Fetching a dataframe document from MongoDB is good from a performance standpoint too.
There are two prerequisites to installing MongoDB (on Windows):
- Only 64-bit machines are able to support MongoDB
- Be sure to get the latest Windows updates
To get started, download the latest stable version of the MongoDB Community Server from the MongoDB Download Center page on the mongodb.com website. That ...